Bug: avahi on pfsense 2.2
-
I'm new to pfsense, but from what I understand, the avahi package is currently broken in pfsense 2.2.
The avahi-daemon looks for it's config file at:
/usr/local/etc/avahi/avahi-daemon.conf
You can verify this by running: /usr/pbi/avahi-amd64/sbin/avahi-daemon –help
But the GUI writes the config file to:
/usr/pbi/avahi-amd64/etc/avahi/avahi-daemon.conf
Also the script /usr/local/etc/rc.d/avahi-daemon.sh calls the daemon with no config file path specified:
/usr/pbi/avahi-amd64/sbin/avahi-daemon -D
I don't know enough about pfsense on how to create an upstream fix, but locally I created a symlink:
ln -s /usr/pbi/avahi-amd64/etc/avahi/avahi-daemon.conf /usr/local/etc/avahi/avahi-daemon.conf
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.