Bug#761576: systemd: fails to shutdown after changing to sysvinit

Thorsten Glaser tg at mirbsd.de
Sun Sep 14 18:09:10 BST 2014


Package: systemd

Someone I know has just installed sysvinit-core on their system,
to switch there from systemd. This is currently the recommended
way of switching to sysvinit after installing a wheezy/sid system.
The installation was not done with --purge and did pull sysvinit-shim.

However, the system failed to come down / reboot properly after this.

If installing Debian with systemd then installing sysvinit-core and
rebooting is the recommended way to switch, it should work. I can
imagine something like this:

• in prerm, copy the systemd shutdown/reboot utility to /run
• in postrm, reboot the system using these utilities, with a
  debconf priority=high question, and tell the user how they
  can do that manually if they deny the auto-reboot in debconf

Does this sound reasonable?



More information about the Pkg-systemd-maintainers mailing list