Migration from sysvinit to systemd: reboot fails to complete

Francesco Poli invernomuto at paranoici.org
Sun Jan 1 15:08:17 GMT 2017


On Sat, 31 Dec 2016 18:56:48 +0100 Francesco Poli wrote:

> On Sat, 31 Dec 2016 18:28:00 +0100 Michael Biebl wrote:
[...]
> > Some possible ideas
> > 
> > 1/ document that switching from sysvinit-core to systemd-sysv is best
> > done by first installing systemd, then booting via init=/bin/systemd on
> > the kernel-command-line, then making the switch permanent by
> > uninstalling sysvinit-core and installing systemd-sysv
> > And if you are using a split-usr setup, doing it this way is mandatory
> 
> This has been recently done on the Debian wiki page [1] by Felipe.
> 
> [1] https://wiki.debian.org/systemd
> 
> But of course, it could be documented somewhere
> in /usr/share/doc/systemd/ , as well (probably
> in /usr/share/doc/systemd/README.Debian.gz ...).

For the record, I have just migrated another box from sysvinit to
systemd.
This time I ran:

  # aptitude --purge-unused install systemd-sysv \
    systemd-shim_ sysvinit-core_

when running under systemd (after having manually passed the
init=/bin/systemd boot parameter to the Linux kernel).
The subsequent reboot completed without hanging.

I still have to figure out why I get some FAILED messages (such as for
the unmounting of /var) during every shutdown (since the system was
migrated to systemd), but everything else seems to work fine.
Any ideas?
This second box has LVM (instead of software RAID), if this helps...


Thanks to you all for your help and support!


-- 
 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://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170101/c6fff799/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list