[Pkg-utopia-maintainers] Bug#768620: Masked service is started via D-Bus request (Re: Bug#768620: avahi-daemon: workaround for this behavoir)

Michael Biebl biebl at debian.org
Sat Nov 8 22:04:33 UTC 2014


Am 08.11.2014 um 22:45 schrieb Michael Biebl:
> Am 08.11.2014 um 21:37 schrieb Michael Biebl:
>> Am 08.11.2014 um 20:20 schrieb Alf Gaida:
>>>
>>> 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.
>>
> 
> 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.

Forgot to add here:

By running "systemctl disable avahi-daemon" you did remove that
dbus-org.freedesktop.Avahi.service symlink. That's why the service could
no longer be triggered via D-Bus and you were able to upgrade successfully.


-- 
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://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20141108/57471658/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list