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

Laurent Bigonville bigon at debian.org
Tue Nov 26 12:42:34 GMT 2013

Package: avahi-daemon
Version: 0.6.31-2
Severity: normal


avahi-daemon package is shipping both an avahi-daemon.service and an LSB
initscript avahi-daemon. This will make systemd prefere the native

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.


Laurent Bigonville

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages avahi-daemon depends on:
ii  adduser            3.113+nmu3
ii  bind9-host [host]  1:9.9.3.dfsg.P2-4
ii  dbus               1.6.18-1
ii  host               1:9.9.3.dfsg.P2-4
ii  libavahi-common3   0.6.31-2
ii  libavahi-core7     0.6.31-2
ii  libc6              2.17-95
ii  libcap2            1:2.22-1.2
ii  libdaemon0         0.14-2
ii  libdbus-1-3        1.6.18-1
ii  libexpat1          2.1.0-4
ii  lsb-base           4.1+Debian12

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-3.2

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd  0.6.31-2

-- no debconf information

More information about the Pkg-systemd-maintainers mailing list