[Pkg-utopia-maintainers] Bug#730546: [Pkg-systemd-maintainers] Bug#730546: avahi-daemon: Incorrect generated dependencies between systemd service and LSB initscripts

Michael Stapelberg stapelberg at debian.org
Tue Nov 26 18:43:42 UTC 2013


Hi Laurent,

Laurent Bigonville <bigon at debian.org> writes:
> The problem is that the LSB initscript is providing the "avahi" service.
> This means that the other initscripts (that don't have a native systemd
> service counterpart) will have a dependency against "avahi" that will be
> translated to avahi.service which of course is not existing.
>
> I see two solutions here. Either add Alias=avahi.service to the
> avahi-daemon service file or add "avahi-daemon" to the list of Provides
> of the LSB initscript and then make all other LSB initscript depend
> against this new name.
>
> I'm not sure which one is the prefered way.
These renames are somewhat painful unfortunately. See also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719695

As for changing all the initscripts to use avahi-daemon instead of
avahi:
http://codesearch.debian.net/search?q=%28Should%7CRequired%29-Start%3A+.*avahi+path%3Ainit
reveals that there are 12 packages that would need to be updated. Given
that avahi-daemon is the upstream name, this would probably be the
cleaner solution, but someone would have to do it… :)

-- 
Best regards,
Michael



More information about the Pkg-utopia-maintainers mailing list