NetBSD Problem Report #39605

From www@NetBSD.org  Mon Sep 22 02:49:48 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7DD4B63BC83
	for <gnats-bugs@gnats.netbsd.org>; Mon, 22 Sep 2008 02:49:48 +0000 (UTC)
Message-Id: <20080922024948.4EEC963BA98@narn.NetBSD.org>
Date: Mon, 22 Sep 2008 02:49:48 +0000 (UTC)
From: Ephaeton@gmx.net
Reply-To: Ephaeton@gmx.net
To: gnats-bugs@NetBSD.org
Subject: rpcbind seems to ignore MKINET6/USE_INET6=no
X-Send-Pr-Version: www-1.0

>Number:         39605
>Category:       bin
>Synopsis:       rpcbind seems to ignore MKINET6/USE_INET6=no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 22 02:50:01 +0000 2008
>Last-Modified:  Sun Oct 19 21:20:02 +0000 2008
>Originator:     Martin S. Weber
>Release:        4.99.72 / i386
>Organization:
>Environment:
NetBSD agamemnon.entropie.local 4.99.72 NetBSD 4.99.72 (AGAMEMNON) #4: Sat Sep 20 20:45:58 EDT 2008  root@agamemnon.entropie.local:/home/netbsd/obj/sys/arch/i386/compile/AGAMEMNON i386
>Description:
rpcbind seems to ignore the non-availability of INET6. I have a kernel without INET6, and built my whole system with MKINET6=no and USE_INET6=no. Still rpcbind complains during startup:
Starting rpcbind.
rpcbind: Cannot get information for `udp6'
rpcbind: Cannot get information for `tcp6'
It shouldn't be trying to "get information for `*6'" in the first place as it was built with MKINET6=no.
>How-To-Repeat:
Build kernel without INET6 support. Build distribution with MKINET6=no. Boot & install that. Start rpcbind on that system. Watch output.
>Fix:
Hmm. Maybe some beer...

>Audit-Trail:
From: David Brownlee <abs@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: bin/39605: rpcbind seems to ignore MKINET6/USE_INET6=no
Date: Mon, 22 Sep 2008 09:07:21 +0100 (BST)

 On Mon, 22 Sep 2008, Ephaeton@gmx.net wrote:

 >> Number:         39605
 >> Synopsis:       rpcbind seems to ignore MKINET6/USE_INET6=no
 [...]
 > rpcbind: Cannot get information for `tcp6'
 > It shouldn't be trying to "get information for `*6'" in the first place as it was built with MKINET6=no.
 >> How-To-Repeat:
 > Build kernel without INET6 support. Build distribution with MKINET6=no. Boot & install that. Start rpcbind on that system. Watch output.

  	I think you'll find this is rpcbind reading the lines in
  	/etc/netconfig that contain udp6 or tcp6 and not being
  	able to parse them due to missing INET6 support.

  	Try commenting out the udp6/tcp6 lines in /etc/netconfig

 -- 
  		David/absolute       -- www.NetBSD.org: No hype required --

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/39605: rpcbind seems to ignore MKINET6/USE_INET6=no
Date: Mon, 22 Sep 2008 09:48:19 -0400

 On Mon, Sep 22, 2008 at 08:10:06AM +0000, David Brownlee wrote:
 > The following reply was made to PR bin/39605; it has been noted by GNATS.
 > 
 > From: David Brownlee <abs@NetBSD.org>
 >   	I think you'll find this is rpcbind reading the lines in
 >   	/etc/netconfig that contain udp6 or tcp6 and not being
 >   	able to parse them due to missing INET6 support.
 >  
 >   	Try commenting out the udp6/tcp6 lines in /etc/netconfig

 True. But:
 - These lines shouldn't be there (why is a transport defined of which my build environment
 knows that it won't work because I explicitely turned it off?) And even worse, why TF are
 the *6 transports first, which mean they are preferred, in a mostly !*6 world(even disregarding
 any build options)??
 - netconfig(5) is not xref'ed from either rpc or rpcbind. Netconfig(5) though says that
 rpcbind is the only client so could that please be referenced? (additionally to the
 ref of rpc(3) which also mentions the file explicitely.)

 Thanks!

 -Martin

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/39605: rpcbind seems to ignore MKINET6/USE_INET6=no
Date: Mon, 22 Sep 2008 10:37:45 -0400

 On Mon, Sep 22, 2008 at 01:50:05PM +0000, Martin S. Weber wrote:
 >  - netconfig(5) is not xref'ed from either rpc or rpcbind. 
 Where is coffee?? ..is not xref'ed from rpcbind(8). Please add.

 -Martin

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39605 CVS commit: src/usr.sbin/rpcbind
Date: Sun, 19 Oct 2008 21:18:22 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Sun Oct 19 21:18:22 UTC 2008

 Modified Files:
 	src/usr.sbin/rpcbind: rpcbind.8

 Log Message:
 Xref netconfig(5). Requested by Martin S. Weber in PR bin/39605.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 src/usr.sbin/rpcbind/rpcbind.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.