My LinkStation PPC device runs Debian, but the kernel doesn't suppotr IPv6. If
I disable IPv6 in the config structure, I get this on startup:
** (process:4590): CRITICAL **: bind(): Operation not permitted
** ERROR **: file iface.c: line 438 (avahi_interface_monitor_sync): assertion
Putting a break on g_logv gives this stack:
#1 0x0ff95640 in g_log () from /usr/lib/libglib-2.0.so.0
#2 0x10005d14 in avahi_netlink_new (context=0x10037a60, priority=-10,
groups=273, cb=0x10003bf8 <callback>,
userdata=0x10038b28) at netlink.c:134
#3 0x1000461c in avahi_interface_monitor_new (s=0x100379a8) at iface.c:417
#4 0x1000a004 in avahi_server_new (c=0x0, sc=0x7ffff6b0, callback=0x10001644
userdata=0x0) at server.c:1036
#5 0x10001dfc in main (argc=1, argv=0x7ffff784) at avahi-test.c:190
I believe the problem is that iface.c:417 specifies both IPV4 and IPV6 without
checking the configuration file.
Turns out I need to run avahi-test as root...
Is the kernel that does not support IPv6 a 2.4 kernel? Some netlink operations
are priviliged in 2.4 but are not in 2.6. This may be the reason for your problem.
Yes, it's a 2.4 kernel.
lennart, ross, any progress on this?
No, not from me.
I will close this now, as this bug is probably gone.
If it isn't, feel free to reopen the bug.