Fw: 2.1.80 breaks samba/named (egcs/glibc)

David Schwartz (davids@webmaster.com)
Fri, 23 Jan 1998 17:35:55 -0500

I just 'upgraded' to 2.1.80 and both samba and named seem to have
broken. I got the following log message from named, "get interface
configuration: Invalid argument - exiting".

Recompiling named doesn't help. Both named and samba were compiled with
egcs-1.0.1 using glibc-2.0.6.

Here's a (possibly useful) strace excerpt:

fcntl(4, F_DUPFD, 20) = 20
setsockopt(20, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(20, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("")}, 16) = 0
listen(20, 5) = 0
ioctl(20, SIOCGIFCONF, 0xbffff8ec) = -1 EINVAL (Invalid argument)

I checked the source and it seems the only way that SIOCGIFCONF can
issue an EINVAL is if it doesn't recognize the address family. So unless I
missed something (which is 100% possible) this is a kernel bug.

David Schwartz

PS: Sorry if you saw this in more than one place. I was stupid.