Changes in general/sysutils/systemd.xml [e3b4ce18:e6940ab]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/systemd.xml
re3b4ce18 re6940ab 5 5 %general-entities; 6 6 7 <!-- <!ENTITY systemd-download-http "http ://anduin.linuxfromscratch.org/LFS/systemd-&systemd-version;-&systemd-stable;.tar.xz"> For whenever we move to a stable snapshot for backports -->7 <!-- <!ENTITY systemd-download-http "https://anduin.linuxfromscratch.org/LFS/systemd-&systemd-version;-&systemd-stable;.tar.xz"> For whenever we move to a stable snapshot for backports --> 8 8 <!ENTITY systemd-download-http "https://github.com/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 9 9 <!ENTITY systemd-download-ftp " "> 10 <!ENTITY systemd-md5sum " 8e8adf909c255914dfc10709bd372e69">11 <!ENTITY systemd-size "1 0MB">12 <!ENTITY systemd-buildsize " 287 MB (with tests)">13 <!ENTITY systemd-time "2. 5SBU (with tests)">10 <!ENTITY systemd-md5sum "b9456750a212dd54d81caeb3c38134b6"> 11 <!ENTITY systemd-size "11 MB"> 12 <!ENTITY systemd-buildsize "307 MB (with tests)"> 13 <!ENTITY systemd-time "2.8 SBU (with tests)"> 14 14 15 15 ]> … … 18 18 <?dbhtml filename="systemd.html"?> 19 19 20 <sect1info>21 <date>$Date$</date>22 </sect1info>23 20 24 21 <title>Systemd-&systemd-version;</title> … … 42 39 </para> 43 40 44 &lfs11 0a_checked;41 &lfs112_checked; 45 42 46 43 <bridgehead renderas="sect3">Package Information</bridgehead> … … 78 75 </itemizedlist> 79 76 77 <!-- Keep here in case a patch will be needed.--> 78 80 79 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 81 80 <itemizedlist spacing="compact"> … … 83 82 <para> 84 83 Required patch: 85 <ulink url="&patch-root;/systemd-&systemd-version;- upstream_fixes-1.patch"/>84 <ulink url="&patch-root;/systemd-&systemd-version;-security_fix-1.patch"/> 86 85 </para> 87 86 </listitem> … … 92 91 <bridgehead renderas="sect4">Required</bridgehead> 93 92 <para role="required"> 94 <xref linkend="Jinja2"/> and95 93 <xref linkend="linux-pam"/> 96 94 </para> 97 95 98 <bridgehead renderas="sect4">Recommended Runtime Dependenc ies</bridgehead>96 <bridgehead renderas="sect4">Recommended Runtime Dependency</bridgehead> 99 97 <para role="recommended"> 100 98 <xref role="runtime" linkend="polkit"/> … … 124 122 <ulink url="https://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>, 125 123 <ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/">kexec-tools</ulink>, 124 <ulink url="https://github.com/libbpf/libbpf">libbpf</ulink>, 126 125 <ulink url="https://sourceware.org/elfutils/">libdw</ulink>, 127 126 <ulink url="https://developers.yubico.com/libfido2/">libfido2</ulink>, 128 127 <ulink url="https://www.gnu.org/software/libmicrohttpd/">libmicrohttpd</ulink>, 129 <ulink url="http ://lz4.github.io/lz4/">lz4</ulink>,128 <ulink url="https://lz4.github.io/lz4/">lz4</ulink>, 130 129 <!--<ulink url="http://fukuchi.org/works/qrencode/">qrencode</ulink>,--> 131 130 <ulink url="https://sourceforge.net/projects/linuxquota/">quota-tools</ulink>, … … 151 150 152 151 <para> 153 Apply a patch to fix a security vulnerability:154 </para> 155 156 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>152 First, fix a security issue in systemd-coredump: 153 </para> 154 155 <screen><userinput>patch -Np1 -i ../systemd-&systemd-version;-security_fix-1.patch</userinput></screen> 157 156 158 157 <para> … … 167 166 168 167 <para> 169 Fix a problem with meson version 0.60 and higher:170 </para>171 172 <screen><userinput remap="pre">sed -i 's/+ want_libfuzzer.*$/and want_libfuzzer/' meson.build</userinput></screen>173 174 <para>175 Fix a problem when building with kernel headers from linux-5.14 and later:176 </para>177 178 <screen><userinput remap="pre">sed -i '/ARPHRD_CAN/a#define ARPHRD_MCTP 290' src/basic/linux/if_arp.h</userinput></screen>179 180 <para>181 168 Rebuild <application>systemd</application> by running the 182 169 following commands: … … 188 175 meson --prefix=/usr \ 189 176 --buildtype=release \ 190 -Dblkid=true \191 177 -Ddefault-dnssec=no \ 192 178 -Dfirstboot=false \ … … 196 182 -Dsysusers=false \ 197 183 -Drpmmacrosdir=no \ 198 -Db_lto=false \199 184 -Dhomed=false \ 200 185 -Duserdb=false \ 201 186 -Dmode=release \ 187 -Dpam=true \ 202 188 -Dpamconfdir=/etc/pam.d \ 203 189 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ … … 209 195 <note> 210 196 <para> 211 For the best test results, make sure you run the test suite from197 For the best test results, make sure you run the test suite from 212 198 a system that is booted by the same 213 199 <application>systemd</application> version you are rebuilding. … … 221 207 </para> 222 208 223 <!--224 <warning>225 <para>226 Installing the package will overwrite all files installed by227 <application>systemd</application> in LFS. It is critical that228 nothing uses either <application>systemd</application> or229 <application>Udev</application> libraries during the installation.230 The best way to ensure that these libraries are not being used is to231 run the installation in rescue mode. To switch to rescue mode,232 run the following command as the233 <systemitem class="username">root</systemitem> user (from a TTY):234 </para>235 236 <screen role="root"><userinput>systemctl isolate rescue.target</userinput></screen>237 </warning>238 Nobody has reported problems with this in years. Let's comment it. -->239 240 209 <para> 241 210 Now, as the <systemitem class="username">root</systemitem> user: … … 243 212 244 213 <screen role="root"><userinput>ninja install</userinput></screen> 245 <!-- No longer needed as of systemd-244. 246 <para> 247 Remove a configuration file that causes some problems with PID files: 248 </para> 249 250 <screen role="root"><userinput>rm -fv /etc/sysctl.d/50-pid-max.conf</userinput></screen> 251 --> 214 252 215 </sect2> 253 216 254 217 <sect2 role="commands"> 255 218 <title>Command Explanations</title> 256 257 <!-- Not needed with the patch258 <para>259 <parameter>-Dc_args=-Wno-format-overflow</parameter>: Prevents an error260 when building with <application>GCC 10</application>. The default is261 <option>-Werror=format-overflow</option>,262 which generates false positives. This switch may be used with previous263 versions of GCC too.264 </para>265 -->266 219 267 220 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 284 237 any use under a traditional BLFS configuration, especially using accounts 285 238 created with useradd. To enable systemd-homed, first ensure that you have 286 <xref linkend="cryptsetup"/> and <xref linkend="libpwquality"/> , and then287 change "false" to "true" in the above meson command.239 <xref linkend="cryptsetup"/> and <xref linkend="libpwquality"/> installed, 240 and then change "false" to "true" in the above meson command. 288 241 </para> 289 242 … … 333 286 </para> 334 287 335 <screen role="root"><userinput>cat >> /etc/pam.d/system-session << "EOF" 288 <screen role="root"><userinput>grep 'pam_systemd' /etc/pam.d/system-session || 289 cat >> /etc/pam.d/system-session << "EOF" 336 290 <literal># Begin Systemd addition 337 291 … … 360 314 # End /etc/pam.d/systemd-user</literal> 361 315 EOF</userinput></screen> 362 363 <!--364 <para>365 At this point, you should reload the systemd daemon, and reenter366 multi-user mode with the following commands (as the367 <systemitem class="username">root</systemitem> user). If a desktop368 manager is installed and you wish to reenter the graphical mode,369 replace <userinput>multi-user.target</userinput> with370 <userinput>graphical.target</userinput>:371 </para>372 373 <screen role="root"><userinput>systemctl daemon-reexec374 systemctl start multi-user.target</userinput></screen>-->375 316 376 317 <warning> … … 394 335 395 336 <para> 396 Listed below are the newly installed libraries and directories337 Listed below are the newly installed programs 397 338 along with short descriptions. 398 339 </para> … … 400 341 <segmentedlist> 401 342 <segtitle>Installed Programs</segtitle> 402 <segtitle>Installed Libraries</segtitle>403 <segtitle>Installed Directories</segtitle>404 343 405 344 <seglistitem> 406 345 <seg> 407 346 <!-- maybe userdbd/userdbctl can go in LFS, try at next time --> 408 homectl (if <xref linkend="cryptsetup"/> is installed) 347 homectl (if <xref linkend="cryptsetup"/> is installed), 348 systemd-cryptenroll (if <xref linkend="cryptsetup"/> is installed), 409 349 and userdbctl (optionally) 410 </seg>411 <seg>412 pam_systemd.so413 (in <filename class="directory">/lib/security</filename>)414 </seg>415 <seg>416 None417 350 </seg> 418 351 </seglistitem> … … 439 372 </varlistentry> 440 373 374 <varlistentry id="systemd-cryptenroll"> 375 <term><command>systemd-cryptenroll</command></term> 376 <listitem> 377 <para> 378 Is used to enroll or remove a system from full disk encryption, 379 as well as set and query private keys and recovery keys 380 </para> 381 <indexterm zone="systemd systemd-cryptenroll"> 382 <primary sortas="b-systemd-cryptenroll">systemd-cryptenroll</primary> 383 </indexterm> 384 </listitem> 385 </varlistentry> 386 441 387 <varlistentry id="userdbctl"> 442 388 <term><command>userdbctl</command></term>
Note:
See TracChangeset
for help on using the changeset viewer.