Unless I made a mistake following the book, it seems 7.10-systemd
installations are unable to boot into linux single-user mode without
modification.  When “single” is added to the kernel boot parameters,
Systemd’s rescue.target (aka runlevel 1) looks for “sulogin” in a different
location than where it’s installed by following the LFS book. Because of
this, systemd just transitions on to the usual graphical.target mode (aka
runlevel 5).  I fixed this on my system by issuing:

sudo ln -s /sbin/sulogin /usr/sbin/sulogin

I’m not certain what a better long-term fix for LFS is; move the sulogin
executable (like “passwd” gets moved per LFS instructions after installing
“shadow”), patch systemd to use the current location, or add a symlink like
I did.  Regardless it would be helpful to add this note to 7.10-systemd
errata, and improve the next LFS-systemd release.

Regards,

-Eric S. Stone
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to