Public bug reported:
The dbus.prerm dpkg script tries to stop dbus.service, which with dbus-
broker installed is an alias to dbus-broker.service; thus, removing the
unused dbus package ends up bringing the system down.
dbus.prerm has both an explicit maintainer script:
deb-systemd-invoke stop dbus.socket dbus.service || exit $?
as well as a dh_installsystemd script:
deb-systemd-invoke stop 'dbus.service' >/dev/null || true
We could add RefuseManualStop=true in the dbus-broker systemd units,
like OpenSUSE: https://build.opensuse.org/projects/home:VaiTon:muon-
rebuild:devel/packages/dbus-broker/files/block-restart.conf?expand=1
Or we could make dbus.prerm behave nicer
** Affects: dbus (Ubuntu)
Importance: Undecided
Status: New
** Affects: dbus-broker (Ubuntu)
Importance: Undecided
Status: New
** Also affects: dbus-broker (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175703
Title:
Removing dbus package brings down dbus-broker
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/2175703/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs