Changeset 479d3bc for chapter08/systemd.xml
- Timestamp:
- 08/02/2024 09:44:22 AM (7 weeks ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.2
- Children:
- e7eaa1e
- Parents:
- 7c1451f (diff), 5ff15e6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/systemd.xml
r7c1451f r479d3bc 49 49 -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen> 50 50 51 <!-- https://github.com/systemd/systemd/pull/30549 -->52 <para>Now fix a security vulnerability in the DNSSEC verification of53 <command>systemd-resolved</command> and a bug breaking running54 <command>systemd-analyze verify</command> on an instantiated systemd55 unit:</para>56 57 <screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>58 59 51 <para>Prepare systemd for compilation:</para> 60 52 … … 63 55 64 56 CFLAGS+=" -Wno-format-overflow" \ 65 meson setup \ 66 --prefix=/usr \ 67 --buildtype=release \ 68 -Ddefault-dnssec=no \ 69 -Dfirstboot=false \ 70 -Dinstall-tests=false \ 71 -Dldconfig=false \ 72 -Dsysusers=false \ 73 -Drpmmacrosdir=no \ 74 -Dhomed=disabled \ 75 -Duserdb=false \ 76 -Dman=disabled \ 77 -Dmode=release \ 78 -Dpamconfdir=no \ 79 -Ddev-kvm-mode=0660 \ 80 -Dnobody-group=nogroup \ 81 -Dsysupdate=disabled \ 82 -Dukify=disabled \ 83 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 84 ..</userinput></screen> 57 meson setup .. \ 58 --prefix=/usr \ 59 --buildtype=release \ 60 -D default-dnssec=no \ 61 -D firstboot=false \ 62 -D install-tests=false \ 63 -D ldconfig=false \ 64 -D sysusers=false \ 65 -D rpmmacrosdir=no \ 66 -D homed=disabled \ 67 -D userdb=false \ 68 -D man=disabled \ 69 -D mode=release \ 70 -D pamconfdir=no \ 71 -D dev-kvm-mode=0660 \ 72 -D nobody-group=nogroup \ 73 -D sysupdate=disabled \ 74 -D ukify=disabled \ 75 -D docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen> 85 76 86 77 <variablelist> … … 97 88 98 89 <varlistentry> 99 <term><parameter>-D default-dnssec=no</parameter></term>90 <term><parameter>-D default-dnssec=no</parameter></term> 100 91 <listitem> 101 92 <para>This switch turns off the experimental DNSSEC support.</para> … … 104 95 105 96 <varlistentry> 106 <term><parameter>-D firstboot=false</parameter></term>97 <term><parameter>-D firstboot=false</parameter></term> 107 98 <listitem> 108 99 <para>This switch prevents installation of systemd … … 114 105 115 106 <varlistentry> 116 <term><parameter>-D install-tests=false</parameter></term>107 <term><parameter>-D install-tests=false</parameter></term> 117 108 <listitem> 118 109 <para>This switch prevents installation of the compiled tests.</para> … … 121 112 122 113 <varlistentry> 123 <term><parameter>-D ldconfig=false</parameter></term>114 <term><parameter>-D ldconfig=false</parameter></term> 124 115 <listitem> 125 116 <para>This switch prevents installation of a systemd unit that runs … … 131 122 132 123 <varlistentry> 133 <term><parameter>-D sysusers=false</parameter></term>124 <term><parameter>-D sysusers=false</parameter></term> 134 125 <listitem> 135 126 <para>This switch prevents installation of systemd … … 143 134 144 135 <varlistentry> 145 <term><parameter>-D rpmmacrosdir=no</parameter></term>136 <term><parameter>-D rpmmacrosdir=no</parameter></term> 146 137 <listitem> 147 138 <para>This switch disables installation of RPM Macros … … 151 142 152 143 <varlistentry> 153 <term><parameter>-D homed=disabled</parameter> and154 <parameter>-D userdb=false</parameter></term>144 <term><parameter>-D homed=disabled</parameter> and 145 <parameter>-D userdb=false</parameter></term> 155 146 <listitem> 156 147 <para>Remove two daemons with dependencies that do not fit … … 160 151 161 152 <varlistentry> 162 <term><parameter>-D man=disabled</parameter></term>153 <term><parameter>-D man=disabled</parameter></term> 163 154 <listitem> 164 155 <para>Prevent the generation of man pages to avoid extra … … 169 160 170 161 <varlistentry> 171 <term><parameter>-D mode=release</parameter></term>162 <term><parameter>-D mode=release</parameter></term> 172 163 <listitem> 173 164 <para>Disable some features considered experimental by upstream. … … 177 168 178 169 <varlistentry> 179 <term><parameter>-D pamconfdir=no</parameter></term>170 <term><parameter>-D pamconfdir=no</parameter></term> 180 171 <listitem> 181 172 <para>Prevent the installation of a PAM configuration file not … … 185 176 186 177 <varlistentry> 187 <term><parameter>-D dev-kvm-mode=0660</parameter></term>178 <term><parameter>-D dev-kvm-mode=0660</parameter></term> 188 179 <listitem> 189 180 <para>The default udev rule would allow all users to access … … 194 185 195 186 <varlistentry> 196 <term><parameter>-D nobody-group=nogroup</parameter></term>187 <term><parameter>-D nobody-group=nogroup</parameter></term> 197 188 <listitem> 198 189 <para>Tell the package the group name with GID 65534 is … … 202 193 203 194 <varlistentry> 204 <term><parameter>-D sysupdate=disabled</parameter></term>195 <term><parameter>-D sysupdate=disabled</parameter></term> 205 196 <listitem> 206 197 <para>Do not install the <command>systemd-sysupdate</command> … … 213 204 214 205 <varlistentry> 215 <term><parameter>-D ukify=disabled</parameter></term>206 <term><parameter>-D ukify=disabled</parameter></term> 216 207 <listitem> 217 208 <para>Do not install the <command>systemd-ukify</command> script. … … 234 225 ninja test</userinput></screen> 235 226 236 <!-- This testneeds /run/systemd/inaccessible/sock, which only exists227 <!-- test-namespace needs /run/systemd/inaccessible/sock, which only exists 237 228 after initializing the system with systemd. --> 238 229 <para>One test named <literal>systemd:core / test-namespace</literal> … … 248 239 <!-- Please make sure systemd man pages tarball has a common leading 249 240 component in the path. --> 250 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd- version;.tar.xz \241 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz \ 251 242 --no-same-owner --strip-components=1 \ 252 243 -C /usr/share/man</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.