[afnog] xinetd bug?

Mark Tinka mtinka at africaonline.co.zw
Sun May 27 10:39:39 UTC 2007


Hello all.

Uncertain if this is a bug, but been experiencing "Bad FD 
errors" with 'xinetd' since I upgraded the box running xinetd 
from FreeBSD-6.0 to FreeBSD-6.2. '/var/log/messages' gives:

xinetd[60715]: warning: can't get client address: Bad file 
descriptor
xinetd[60715]: fcntl( 0, clear close-on-exec ) failed: Bad 
file descriptor (errno = 9)
xinetd[60715]: dup2( 0, 0 ) failed: Bad file descriptor (errno 
= 9)

xinetd[60733]: warning: can't get client address: Bad file 
descriptor
xinetd[60733]: fcntl( 0, clear close-on-exec ) failed: Bad 
file descriptor (errno = 9)
xinetd[60733]: dup2( 0, 0 ) failed: Bad file descriptor (errno 
= 9)

xinetd[60756]: warning: can't get client address: Bad file 
descriptor
xinetd[60756]: fcntl( 0, clear close-on-exec ) failed: Bad 
file descriptor (errno = 9)
xinetd[60756]: dup2( 0, 0 ) failed: Bad file descriptor (errno 
= 9)

I get this same error over both IPv4 and IPv6 transports, 
either when 'xinetd' is running over both or only one of 
these IP protocols.

The service I'm working with is TFTP. '/var/log/xinetd.log' 
confirms TFTP traffic correctly getting to the box:

Google turns up:

http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019394.html

But there appears to be no follow-up.

Is this a known issue with FreeBSD-6.2? 'xinetd' version is:

xinetd-2.3.14_1 (installed from Ports)

Cheers,

Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://afnog.org/pipermail/afnog/attachments/20070527/3361b800/attachment.bin 


More information about the afnog mailing list