On Mon, Nov 21, 2016 at 8:18 PM, Bruce Dubbs <[email protected]> wrote:

> 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.
>>
>
> We still support the possibility of a separate /usr partition, so it would
> appear that the best solution is to fix systemd.
>
> I don't do systemd very often, so I could be mistaken, but it appears that
>
> ac_cv_path_SULOGIN="/sbin/sulogin"
>
> in config.cache would do what is needed.
>
>   -- Bruce
>
>
systemd itself explicitly does not support a split /usr.

https://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to