From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 18 03:30:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23F2510656C9 for ; Wed, 18 Feb 2009 03:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D6F578FC0C for ; Wed, 18 Feb 2009 03:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1I3U3aP032641 for ; Wed, 18 Feb 2009 03:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1I3U3kJ032636; Wed, 18 Feb 2009 03:30:03 GMT (envelope-from gnats) Resent-Date: Wed, 18 Feb 2009 03:30:03 GMT Resent-Message-Id: <200902180330.n1I3U3kJ032636@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rob Evers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2932106566B for ; Wed, 18 Feb 2009 03:26:48 +0000 (UTC) (envelope-from root@flappie.debank.tv) Received: from smtp.debank.tv (59-80-ftth.onsneteindhoven.nl [88.159.80.59]) by mx1.freebsd.org (Postfix) with ESMTP id 69B018FC08 for ; Wed, 18 Feb 2009 03:26:48 +0000 (UTC) (envelope-from root@flappie.debank.tv) Received: from flappie.debank.tv (smtp.debank.tv [192.168.1.25]) by smtp.debank.tv (Postfix) with SMTP id 2FEC61DB2007 for ; Wed, 18 Feb 2009 04:06:36 +0100 (CET) Received: by flappie.debank.tv (sSMTP sendmail emulation); Wed, 18 Feb 2009 04:06:36 +0100 Message-Id: <20090218030636.2FEC61DB2007@smtp.debank.tv> Date: Wed, 18 Feb 2009 04:06:36 +0100 From: "Charlie &" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/131800: rpcbind fails to start in jail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Evers List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 03:30:05 -0000 >Number: 131800 >Category: bin >Synopsis: rpcbind fails to start in jail >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 18 03:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rob Evers >Release: FreeBSD 7.1-STABLE amd64 >Organization: >Environment: System: FreeBSD flappie.debank.tv 7.1-STABLE FreeBSD 7.1-STABLE #0: Wed Feb 18 01:52:24 CET 2009 root@flappie.debank.tv:/usr/obj/usr/src/sys/FLAPPIE amd64 >Description: rpcbind fails to start in a jail with only one ipv4 address assigned on amd64 (no other platform available for testing) >How-To-Repeat: Install 7.1-STABLE to a version after the multiple ip jail changes Start rpcbind, it fails with "Segmentation fault (core dumped)" >Fix: As a workaround I disabled udp6 and tcp6 in /etc/netconfig, rpcbind works fine now, the last part of a "ktrace rpcbind" is shown below 13860 rpcbind GIO fd 7 wrote 70 bytes "<27>Feb 18 03:55:12 rpcbind: cannot bind ::1 on udp6: Invalid argument" 13860 rpcbind RET sendto 70/0x46 13860 rpcbind CALL socket(PF_INET6,SOCK_DGRAM,IPPROTO_UDP) 13860 rpcbind RET socket 8 13860 rpcbind PSIG SIGSEGV SIG_DFL 13860 rpcbind NAMI "rpcbind.core" >Release-Note: >Audit-Trail: >Unformatted: