Bug#784604: systemd: can't remove systemd unless it is correctly running

Michael Biebl biebl at debian.org
Thu May 7 13:18:40 BST 2015


Control: tags -1 + moreinfo unreproducible

Am 07.05.2015 um 06:38 schrieb Brian May:
> root at scrooge:/# apt-get remove systemd-sysv

When you've been running that command, was systemd the active PID 1 or
did you boot with init=/lib/sysvinit/init (having the sysvinit package
installed?)

> Reading package lists... Done
> Building dependency tree      
> Reading state information... Done
> The following extra packages will be installed:
>   cgmanager libcgmanager0 libnih-dbus1 libnih1 systemd-shim
>   sysvinit-core
> Suggested packages:
>   pm-utils
> The following packages will be REMOVED:
>   systemd-sysv
> The following NEW packages will be installed:
>   cgmanager libcgmanager0 libnih-dbus1 libnih1 systemd-shim
>   sysvinit-core
> 0 upgraded, 6 newly installed, 1 to remove and 1 not upgraded.
> Need to get 493 kB of archives.
> After this operation, 1074 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Adding 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
> Unpacking systemd-shim (9-1) ...
> Processing triggers for systemd (215-17) ...
> Failed to get D-Bus connection: No such file or directory

Do you have a /run/systemd/system directory at this point?
If systemd is not the active PID 1, this should not be the case and the
systemd trigger should be a no-op.


I can't seem to reproduce the problem here.
I've tested "apt-get remove systemd-sysv" where systemd is the active
PID 1 and one where sysvinit is the active PID 1 (booted via
init=/lib/sysvinit/init).
In both cases I could successfully uninstall systemd-sysv and replace it
with sysvinit-core.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150507/f9852c21/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list