From owner-freebsd-current Wed Jul 17 12:36:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C13BF37B400 for ; Wed, 17 Jul 2002 12:36:48 -0700 (PDT) Received: from energistic.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B497143E31 for ; Wed, 17 Jul 2002 12:36:47 -0700 (PDT) (envelope-from steve@energistic.com) Received: from energistic.com (steve@localhost [127.0.0.1]) by energistic.com (8.12.5/8.12.5) with ESMTP id g6HJakHH056357 for ; Wed, 17 Jul 2002 14:36:46 -0500 (EST) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.12.5/8.12.5/Submit) id g6HJak6H054672 for current@freebsd.org; Wed, 17 Jul 2002 14:36:46 -0500 (EST) Date: Wed, 17 Jul 2002 14:36:46 -0500 (EST) From: Steve Ames Message-Id: <200207171936.g6HJak6H054672@energistic.com> To: current@freebsd.org Subject: inetd parsing broke for non IPv6 configurations Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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