Open ismell opened 8 years ago
Is this still an issue? I'm not able to reproduce this running avahi-daemon on lx Ubuntu 14.04 with PI 20170413.
I'll try again. I think avahi added a chroot helper that might have fixed it.
Looks like it starts up now
root@irc:~# /usr/sbin/avahi-daemon --debug
Process 6510 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
Found user 'avahi' (UID 108) and group 'avahi' (GID 112).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
chroot.c: chroot() helper started
Successfully called chroot().
Successfully dropped remaining capabilities.
Failed to initialize inotify: No such file or directory
chroot.c: chroot() helper got command 02
No service file found in /etc/avahi/services.
SO_REUSEPORT failed: Protocol not available
SO_REUSEPORT failed: Protocol not available
Joining mDNS multicast group on interface eth0.IPv6 with address fe80::30bc:9bff:fe3a:732.
New relevant interface eth0.IPv6 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.13.
New relevant interface eth0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::30bc:9bff:fe3a:732 on eth0.*.
Registering new address record for 10.0.0.13 on eth0.IPv4.
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Server startup complete. Host name is irc.local. Local service cookie is 1830963552.
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Running it with --no-chroot does fix the inotify errors, so not sure if chroot and inotify are messed up on the kernel side or in avahi:
root@irc:~# /usr/sbin/avahi-daemon --debug --no-chroot
Found user 'avahi' (UID 108) and group 'avahi' (GID 112).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
No service file found in /etc/avahi/services.
SO_REUSEPORT failed: Protocol not available
SO_REUSEPORT failed: Protocol not available
Joining mDNS multicast group on interface eth0.IPv6 with address fe80::30bc:9bff:fe3a:732.
New relevant interface eth0.IPv6 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.13.
New relevant interface eth0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::30bc:9bff:fe3a:732 on eth0.*.
Registering new address record for 10.0.0.13 on eth0.IPv4.
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
Server startup complete. Host name is irc.local. Local service cookie is 596172168.
Unhandled cmsg_type: 0
Unhandled cmsg_type: 0
^CGot SIGINT, quitting.
Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::30bc:9bff:fe3a:732.
Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.13.
avahi-daemon 0.6.32-rc exiting.
any progress on this? Despite the Unhanded msg_type: 0 messages and the fact i don't see the zone in bonjour, i can still mount it using afp:// and seems to work, not sure about stability yet.
I'm running Ubuntu 16.04 20160601 on a smartos box.
When I try and start the avahi-daemon with the default parameters it fails: