Date: Wed, 17 Jul 2002 14:36:46 -0500 (EST) From: Steve Ames <steve@energistic.com> To: current@freebsd.org Subject: inetd parsing broke for non IPv6 configurations Message-ID: <200207171936.g6HJak6H054672@energistic.com>
next in thread | raw e-mail | index | archive | help
This worked 3 days ago but I just upgraded to -CURRENT from today and its not quite working now. If you have tcp6 lines in your inetd.conf but do not have IPv6 enabled in the kernel your inetd will stop adding services after it encounters the first line with a tcp6 in it: mysystem# inetd -d ADD : ftp proto=tcp accept=1 max=0 user=root group=(null)class=daemon builtin=0x 0 server=/usr/libexec/ftpd policy="" inetd: ftp/tcp: ipsec initialization failed; in entrust inetd: ftp/tcp: ipsec initialization failed; tut entrust inetd: enabling ftp, fd 4 inetd: registered /usr/libexec/ftpd on 4 inetd[52984]: IPv6 bind is ignored for ftp inetd[52984]: IPv6 bind is ignored for telnet inetd[52984]: IPv6 bind is ignored for telnet inetd[52984]: IPv6 bind is ignored for comsat inetd[52984]: IPv6 bind is ignored for ntalk inetd[52984]: IPv6 bind is ignored for pop3 inetd[52984]: IPv6 bind is ignored for imap4 inetd[52984]: IPv6 bind is ignored for imaps inetd[52984]: IPv6 bind is ignored for auth inetd[52984]: IPv6 bind is ignored for auth inetd[52984]: IPv6 bind is ignored for gpsclock Here it correctly adds ftp/tcp and ignores ftp/tcp6... but then it appears to see all remaining entries as tcp6 and ignores them even when they are most certainly listed as tcp and not tcp6. I'm guessing that $FreeBSD: src/usr.sbin/inetd/inetd.c,v 1.105 2002/07/15 19:09:33 is the culprit. This commit was to add support for rpc IPv6 and does appear to change the code block where the "IPv6 bind is ignored" appears.. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207171936.g6HJak6H054672>