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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to