From owner-freebsd-stable@FreeBSD.ORG Fri Mar 11 23:03:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86AF7106564A for ; Fri, 11 Mar 2011 23:03:43 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 48AE08FC08 for ; Fri, 11 Mar 2011 23:03:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAPM4ek2DaFvO/2dsb2JhbACEOaJ2sVCQe4Eng0V2BIUphyaMMQ X-IronPort-AV: E=Sophos;i="4.62,305,1297054800"; d="scan'208";a="114009618" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 11 Mar 2011 18:03:42 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 7925EB3F32; Fri, 11 Mar 2011 18:03:42 -0500 (EST) Date: Fri, 11 Mar 2011 18:03:42 -0500 (EST) From: Rick Macklem To: Daniel Braniss Message-ID: <2122282816.1268010.1299884622480.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Cc: George Mitchell , freebsd-stable@freebsd.org Subject: Re: statd/lockd startup failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 23:03:43 -0000 > >> On 02/18/2011 10:08, Rick Macklem wrote: > >> > The attached patches changes the behaviour so that it tries to > >> > get an unused port for each of the 4 cases. > >> > >> can you send me the patches? > >> thanks, > >> danny > > > They're attached. If you get to test them, please let me know > > how it goes. > > > > rick > > Hi Rick, > the good side of living on different time zones :-) > I got impatient, so I came up with a different fix. > The rational is that IMHO, there is no need for all listeners > to be on the same port: > rnd> rpcinfo protonew |grep mountd > 100005 1 udp6 ::.3.141 mountd superuser > 100005 3 udp6 ::.3.141 mountd superuser > 100005 1 tcp6 ::.3.141 mountd superuser > 100005 3 tcp6 ::.3.141 mountd superuser > 100005 1 udp 0.0.0.0.3.141 mountd superuser > 100005 3 udp 0.0.0.0.3.141 mountd superuser > 100005 1 tcp 0.0.0.0.3.92 mountd superuser <--- > 100005 3 tcp 0.0.0.0.3.92 mountd superuser <--- > rnd> rpcinfo -t protonew mountd > program 100005 version 1 ready and waiting > rpcinfo: RPC: Program/version mismatch; low version = 1, high version > = 3 > program 100005 version 2 is not available > program 100005 version 3 ready and waiting > > the patches are in: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/patches/address_already_in_use/ > > cheers, > danny > Yep, a patch that doesn't make them all use the same port# is much simpler. However, others, such as Doug Barton feel that it is important that they use the same port#. (Something he called "tracking".) rick