Browse Source

ch08/systemd: sync with BLFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12128 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Xi Ruoyao 3 years ago
parent
commit
a815ec734c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      chapter08/systemd.xml

+ 8 - 0
chapter08/systemd.xml

@@ -212,6 +212,10 @@ meson --prefix=/usr                 \
 
 <screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
 
+    <para>Remove an useless directory:</para>
+
+<screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
+
     <para>Create the <filename>/etc/machine-id</filename> file needed by
     <command>systemd-journald</command>:</para>
 
@@ -228,10 +232,14 @@ meson --prefix=/usr                 \
  
 <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
 
+<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
+          If it causes any trouble, we can add this back and also copy it into BLFS -->
+<!--
     <para>Prevent systemd from resetting the maximum PID value which causes
     some problems with packages and units in BLFS:</para>
     
 <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
+-->
 
   </sect2>