Migration from sysvinit to systemd: reboot fails to complete

Francesco Poli invernomuto at paranoici.org
Fri Dec 30 22:48:34 GMT 2016


On Fri, 30 Dec 2016 18:16:02 -0300 Felipe Sateler wrote:

> On 30 December 2016 at 15:01, Francesco Poli <invernomuto at paranoici.org> wrote:
> > On Fri, 30 Dec 2016 14:15:17 -0300 Felipe Sateler wrote:
[...]
> >> I am assuming you were running this in a boot running with init=/bin/systemd
> >
> > Ouch! That probably explains everything!
> 
> Well, rebooting from sysvinit to systemd is supposed to work too, so
> it doesn't explain everything.

Indeed.

> But, your experience appears to uncover
> another bug: for some reason the sysvinit mount scripts will unmount
> /usr! This is a bad idea, as the distinction between / and /usr is not
> relevant anymore (because we now have initramfs), and will stop
> existing after the /usr merge. The question is, why would sysvinit
> unmount /usr, it probably shouldn't.

Agreed, fully.

[...]
> > If this is indeed my mistake, I will issue the commands
> >
> >   # aptitude --purge-unused install systemd-sysv \
> >     systemd-shim_ sysvinit-core_
> >   # reboot
> >
> > in a boot running with init=/bin/systemd, next time I migrate a box
> > from sysvinit to systemd.
> 
> This is still a good idea, I think. The less weird mixes one has, the
> better. I have added a note there.

Thanks for updating the Debian wiki page: I think the added sentence is
clear enough. Good job!   :-)


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20161230/78400b04/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list