From owner-freebsd-bugs Tue Aug 27 13:10:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C56937B401 for ; Tue, 27 Aug 2002 13:10:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8931B43E6A for ; Tue, 27 Aug 2002 13:10:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7RKA7JU086558 for ; Tue, 27 Aug 2002 13:10:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7RKA7Xc086557; Tue, 27 Aug 2002 13:10:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E421837B401 for ; Tue, 27 Aug 2002 13:09:11 -0700 (PDT) Received: from ncs.lbl.gov (ncs.lbl.gov [131.243.2.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1961543E42 for ; Tue, 27 Aug 2002 13:09:11 -0700 (PDT) (envelope-from jin@ncs.lbl.gov) Received: from ncs.lbl.gov (localhost [127.0.0.1]) by ncs.lbl.gov (8.12.3/8.12.3) with ESMTP id g7RK9Am2000804 for ; Tue, 27 Aug 2002 13:09:10 -0700 (PDT) (envelope-from jin@ncs.lbl.gov) Received: (from jin@localhost) by ncs.lbl.gov (8.12.3/8.12.3/Submit) id g7RK9AX7000803; Tue, 27 Aug 2002 13:09:10 -0700 (PDT) Message-Id: <200208272009.g7RK9AX7000803@ncs.lbl.gov> Date: Tue, 27 Aug 2002 13:09:10 -0700 (PDT) From: Jin Guojun (DSD staff) Reply-To: j_guojun@lbl.gov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/42093: ypbind hangs on NIC with the lowest scopeid Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42093 >Category: bin >Synopsis: ypbind hangs on NIC with the lowest scopeid >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 27 13:10:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jin Guojun (DSD staff) >Release: FreeBSD 4.6.2-RELEASE i386 >Organization: >Environment: FreeBSD 4.x >Description: If NICs present in following order, then, ypbind does not bind on fxp0, which has a default router associated. Ypbind always try to bind on a NIC up with lowest scopeid, but not the NIC had address associated with the default router. All other network services, such NFS, nslookup, work well, except ypbind. sk0: flags=c843 mtu 1500 inet6 fe80::200:5aff:fe98:ea24%sk0 prefixlen 64 scopeid 0x1 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:00:5a:98:ea:24 media: Ethernet 1000baseSX status: active sk1: flags=c843 mtu 1500 inet6 fe80::200:5aff:fe98:ea25%sk1 prefixlen 64 scopeid 0x2 inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 ether 00:00:5a:98:ea:25 media: Ethernet 1000baseSX status: active fxp0: flags=8843 mtu 1500 inet 131.234.123.10 netmask 0xffffff00 broadcast 131.234.123.255 inet6 fe80::230:48ff:fe23:6124%fxp0 prefixlen 64 scopeid 0x3 ether 00:30:48:23:61:24 media: Ethernet 100baseTX status: active >How-To-Repeat: Install at least two NICs, and user the second one as primary interface, and configure the system to use NIS. After system boot, issue command rcpinfo -p and/or ypwhich if you have a ypserv running. rcpinfo -p will hang forever. ifconfig the first NIC (sk0 and sk1 in this case) down and restart ypbind, then ypbind will work. >Fix: Work around: Configure non primary NIC(s )(sk0 and sk1 in this case) in /usr/local/etc/rc.d/01.if-sk.sh if they come up at front of the primary NIC. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message