avahi fails to start at pfSense boot time



  • pfSense 2.4.3-RELEASE-p1
    avahi package version 1.12

    I see the following, 3 times in a row, in the system log:

    Sep 13 15:52:52 avahi-daemon 1105 Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
    Sep 13 15:52:52 avahi-daemon 1105 Successfully dropped root privileges.
    Sep 13 15:52:52 avahi-daemon 1105 avahi-daemon 0.6.31 starting up.
    Sep 13 15:52:52 avahi-daemon 1105 WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    Sep 13 15:52:52 avahi-daemon 1105 dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    Sep 13 15:52:52 avahi-daemon 1105 WARNING: Failed to contact D-Bus daemon.
    Sep 13 15:52:52 avahi-daemon 1105 avahi-daemon 0.6.31 exiting.

    After pfSense is up and running, I can start avahi manually and get the following in the log:

    Sep 13 16:03:05 avahi-daemon 96404 Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
    Sep 13 16:03:05 avahi-daemon 96404 Successfully dropped root privileges.
    Sep 13 16:03:05 avahi-daemon 96404 avahi-daemon 0.6.31 starting up.
    Sep 13 16:03:05 avahi-daemon 96404 WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    Sep 13 16:03:05 avahi-daemon 96404 Loading service file /usr/local/etc/avahi/services/sftp-ssh.service.
    Sep 13 16:03:05 avahi-daemon 96404 Loading service file /usr/local/etc/avahi/services/ssh.service.
    Sep 13 16:03:05 avahi-daemon 96404 Joining mDNS multicast group on interface igb1.12.IPv6 with address fe80::208:a2ff:fe0d:4925.
    Sep 13 16:03:05 avahi-daemon 96404 New relevant interface igb1.12.IPv6 for mDNS.
    Sep 13 16:03:05 avahi-daemon 96404 Joining mDNS multicast group on interface igb1.12.IPv4 with address 192.168.12.1.
    Sep 13 16:03:05 avahi-daemon 96404 New relevant interface igb1.12.IPv4 for mDNS.
    Sep 13 16:03:05 avahi-daemon 96404 Joining mDNS multicast group on interface igb1.IPv6 with address fe80::208:a2ff:fe0d:4925.
    Sep 13 16:03:05 avahi-daemon 96404 New relevant interface igb1.IPv6 for mDNS.
    Sep 13 16:03:05 avahi-daemon 96404 Joining mDNS multicast group on interface igb1.IPv4 with address 192.168.0.10.
    Sep 13 16:03:05 avahi-daemon 96404 New relevant interface igb1.IPv4 for mDNS.
    Sep 13 16:03:05 avahi-daemon 96404 Network interface enumeration completed.
    Sep 13 16:03:05 avahi-daemon 96404 Registering new address record for fe80::208:a2ff:fe0d:4925 on igb1.12..
    Sep 13 16:03:05 avahi-daemon 96404 Registering new address record for 192.168.12.1 on igb1.12.IPv4.
    Sep 13 16:03:05 avahi-daemon 96404 Registering new address record for fe80::208:a2ff:fe0d:4925 on igb1.
    .
    Sep 13 16:03:05 avahi-daemon 96404 Registering new address record for 192.168.0.10 on igb1.IPv4.
    Sep 13 16:03:05 avahi-daemon 96404 Registering new address record for 192.168.1.1 on igb1.IPv4.
    Sep 13 16:03:05 avahi-daemon 96404 Registering HINFO record with values 'AMD64'/'FREEBSD'.
    Sep 13 16:03:06 avahi-daemon 96404 Server startup complete. Host name is pfSense1.local. Local service cookie is 3239689302.
    Sep 13 16:03:06 avahi-daemon 96404 Service "pfSense1" (/usr/local/etc/avahi/services/ssh.service) successfully established.
    Sep 13 16:03:06 avahi-daemon 96404 Service "pfSense1" (/usr/local/etc/avahi/services/sftp-ssh.service) successfully established.



  • You can try disabling d-bus.

    Alternatively, there is a new version of the Avahi package under review that should address the issue. You can try the beta if you like:

    https://forum.netgate.com/topic/134339/new-avahi-package.


Log in to reply