Author: xry111 Date: Fri May 10 23:48:04 2019 New Revision: 21579 Log: [systemd] Add a warning about /run/nologin in shadow
Modified: trunk/BOOK/postlfs/security/gnutls.xml trunk/BOOK/postlfs/security/shadow.xml Modified: trunk/BOOK/postlfs/security/gnutls.xml ============================================================================== --- trunk/BOOK/postlfs/security/gnutls.xml Fri May 10 13:25:39 2019 (r21578) +++ trunk/BOOK/postlfs/security/gnutls.xml Fri May 10 23:48:04 2019 (r21579) @@ -148,6 +148,7 @@ </para> <screen><userinput>./configure --prefix=/usr \ + --docdir=/usr/share/doc/gnutls-&gnutls-version; \ --disable-guile \ --with-default-trust-store-pkcs11="pkcs11:" && make</userinput></screen> Modified: trunk/BOOK/postlfs/security/shadow.xml ============================================================================== --- trunk/BOOK/postlfs/security/shadow.xml Fri May 10 13:25:39 2019 (r21578) +++ trunk/BOOK/postlfs/security/shadow.xml Fri May 10 23:48:04 2019 (r21579) @@ -477,6 +477,19 @@ <screen role="root" revision="systemd"><userinput>rm -f /run/nologin</userinput></screen> + <warning revision="systemd"> + <para> + If you are building <application>Shadow</application> with Linux-PAM, + you should install <xref linkend="systemd"/> before rebooting. + Or the old <application>systemd</application> installed in LFS will + create <filename>/run/nologin</filename> at next boot and stop you + from login into the system. If you really need to reboot before + installing <application>systemd</application>, the configuration + line containing <filename class="libraryfile">pam_nologin.so</filename> + must be removed from <filename>/etc/pam.d/login</filename>. + </para> + </warning> + <warning> <para> At this point, you should do a simple test to see if -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page