Your message dated Sat, 13 Jun 2026 08:58:39 +1000
with message-id
<CABDzzBUL1v=evwehlcykh8hirw3bhnkzjhscmt93yow3+rv...@mail.gmail.com>
and subject line Re: Bug#859097: libapache2-mod-dnssd: Unit
dbus-org.freedesktop.Avahi.service not found
has caused the Debian Bug report #859097,
regarding libapache2-mod-dnssd : Unit dbus-org.freedesktop.Avahi.service not
found
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
859097: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859097
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-dnssd
Version: 0.6-3.1
Dear maintainer,
when I start apache, I see the following error messages in the system logs:
dbus-daemon[9656]: [system] Activating via systemd: service
name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
requested by ':1.1112' (uid=33 pid=20668 comm="/usr/sbin/apache2 -k start ")
dbus-daemon[9656]: [system] Activation via systemd failed for unit
'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service
not found.
Disabling the dnssd module (a2dismod dnssd) fixes the problem. The missing
file does not seem to exist in Debian:
$ apt-file search dbus-org.freedesktop.Avahi.service
[nothing]
--
Laurent.
--- End Message ---
--- Begin Message ---
Hi Laurent,
Thanks for the report. I've adopted mod-dnssd (0.6-6 is now in unstable)
and went through the old bugs.
This message comes from systemd/dbus, not from mod_dnssd. mod-dnssd depends
on avahi-daemon and talks to it over D-Bus. When apache loads the module,
the Avahi D-Bus call prompts dbus to auto-activate Avahi via systemd using
the unit name dbus-org.freedesktop.Avahi.service.
That name is an alias of avahi-daemon.service (declared by
"Alias=dbus-org.freedesktop.Avahi.service" in avahi-daemon.service's
[Install] section). The alias symlink is created when avahi-daemon.service
is enabled, which is the default on install. So on a normal system the
alias resolves and there is no error, and usually avahi-daemon is already
running so no activation is attempted at all.
The "Unit dbus-org.freedesktop.Avahi.service not found" appears only when
avahi-daemon.service has been disabled or masked while the package stays
installed, so the alias symlink is absent. That also explains your apt-file
result: the unit is not shipped by any package, it is generated on enable.
Enabling avahi-daemon resolves it:
systemctl enable --now avahi-daemon
Since this is expected behaviour when avahi-daemon is disabled rather than
a mod-dnssd defect, I'm closing the bug. Please reopen if you still see it
with avahi-daemon enabled on a current release.
Thanks,
Jayen Ashar <[email protected]>
--- End Message ---