> From: DJ Lucas <[email protected]> > Date: Mon, 21 Nov 2016 20:00:09 -0600 > Subject: Re: [lfs-dev] 7.10-systemd issue: single user mode > > On 11/21/2016 07:25 PM, Eric Stone wrote: > > 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. > > Hey, thanks. Good catch. I can't say that I've had a need to use > recovery mode in a very long time, certainly not before X is installed > and systemd rebuilt. It should fix itself when you do the rebuild in > BLFS. It happens because shadow is not yet installed. Fix is > "SULOGIN=/sbin/sulogin ./configure..." Will get it into the book shortly. >
- in the sysd book only: no need for it in the sysv book. akh -- -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
