Am 08.11.2014 um 21:37 schrieb Michael Biebl: > Am 08.11.2014 um 20:20 schrieb Alf Gaida: >> Package: avahi-daemon >> Version: 0.6.31-4+b1 >> Followup-For: Bug #768620 >> >> Dear Maintainer, >> >> to resolve this mess manually these steps are sufficient: >> >> systemctl disable avahi-daemon >> apt-get --reinstall install avahi-daemon >> systemctl enable avahi-daemon >> >> after that i can reinstall the packages without any problems >> >> WTF? (Sorry, no offense, but that question describe the problem very well) > > We do mask avahi-daemon.service in prerm. That should make sure the > daemon can't be triggered via socket or D-Bus activation during upgrades > or on remove. > > Will need to figure out, why that didn't work in your case.
Now that I think of this, I remember I've noticed a similar issue. The problem is most likely that /usr/share/dbus-1/system-services/org.freedesktop.Avahi.service uses SystemdService=dbus-org.freedesktop.Avahi.service And /etc/systemd/system/dbus-org.freedesktop.Avahi.service is a symlink which points at /lib/systemd/system/avahi-daemon.service. Masking avahi-daemon.service in prerm is not sufficient to block the start request via dbus-org.freedesktop.Avahi.service. I consider this to be a genuine bug in systemd (CCed the mailing list) which is related to [1]. I think as a workaround for jessie, we can change avahi-daemon's prerm to mask both avahi-daemon.service and dbus-org.freedesktop.Avahi.service That said, we do have other packages, like modem-manager, which also use the mask "trick" in prerm, which are also affected by this. So mybe we will need to fix that in systemd proper for jessie. Michael [1] https://bugs.freedesktop.org/show_bug.cgi?id=65946 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature