Ken Moffat wrote:
>   I'm just looking in more detail at the set-systemd and set-sysv
> scripts in section 7.1.
>
>   Two questions:
>
> 1. set-systemd ends with
> echo "Now reboot with /sbin/reboot-sysv"
>   and set-sysv ends with
> echo "Now reboot with /sbin/reboot-systemd"

>   Are these swapped, i.e. set-systemd should instruct
> people to run "reboot-systemd" ?

When you change the symlinks, you need to reboot with the program for 
the existing system, not the new one.  After the symlinks are changed, 
the reboot program points to the wrong version.

If you booted into a sysv init, reboot normally calls that init.  You 
need to use the sysv reboot.

> 2. does a plain reboot not do whatever is necessary to change from
> sysv to systemd, or vice-versa ?

No.  After a symlink change, a plain reboot would use the wrong version.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to