[avahi] avahi-daemon with a very long hostname

Sebastien Estienne sebastien.estienne at gmail.com
Wed Nov 9 04:35:44 PST 2005


i tested avahi with a very long hostname,
the hostname is cut at 63,64 chars, but the service group is ignored:

# hostname aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# avahi-daemon
Found user 'avahi' (UID 1001) and group 'avahi' (GID 1000).
Successfully dropped root privileges.
avahi-daemon 0.6 starting up.
Loading service file /usr/local/etc/avahi/services/ssh.service.
New relevant interface vr0.IPv6.
Joining mDNS multicast group on interface vr0.IPv6 with address
New relevant interface vr0.IPv4.
Joining mDNS multicast group on interface vr0.IPv4 with address
Network interface enumeration completed.
Adding HINFO record with values 'I386/NETBSD'
Registering new address fe80:1::250:baff:fec6:7ed5 on vr0.
Registering new address on vr0.
Server startup complete. Host name is
Local service cookie is 1528565460.
Failed to add service 'Remote Terminal on
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' of
type '_ssh._tcp', ignoring service group
(/usr/local/etc/avahi/services/ssh.service): Invalid service name

Sebastien Estienne

More information about the avahi mailing list