From owner-freebsd-current Wed Jan 12 6:59:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id C81E415501 for ; Wed, 12 Jan 2000 06:59:11 -0800 (PST) (envelope-from mb@imp.ch) Received: from mephisto.imp.ch (mb@mephisto.imp.ch [157.161.1.22]) by mail.imp.ch (8.9.3/8.9.3) with ESMTP id PAA28377; Wed, 12 Jan 2000 15:59:06 +0100 (MET) Received: from localhost (mb@localhost) by mephisto.imp.ch (8.9.3/8.9.3) with ESMTP id PAA01830; Wed, 12 Jan 2000 15:59:04 +0100 (MEZ) Date: Wed, 12 Jan 2000 15:59:02 +0100 From: Martin Blapp To: "Louis A. Mamakos" Cc: Matthew Dillon , "Rodney W. Grimes" , current@FreeBSD.ORG Subject: Re: move portmap(8) from /usr/sbin to /sbin In-Reply-To: <200001121445.JAA77998@whizzo.transsys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've got a loopback mount in /var/db/mounttab that looks like this: > > 946789037 localhost /null > > which is there because I run cfs (a crypto file system; see > /usr/ports/security/cfs). Part of the cfs startup script does > this: > > /usr/local/sbin/cfsd && mount -o port=3049,intr localhost:/null /crypt > > The problem is that when you boot, the invocation of 'rpc.umntall -k' > hangs for a while trying to contact the mountd or portmapper on localhost. > If it was smart enough to recognize an ICMP port unreachable error and > move on, we wouldn't have this problem. > > It's not that I think moving mountd and portmap is necessarily a good > idea; this is just one scenario which perhaps has prompted this line of That's because rpc.umntall has been called the wrong time. I have another patch which does fix this behaviour. Thanks anyway. BTW: you cannot have this line in /etc/fstab, right ? If you put localhost:/null /crypt in fstab, you will get a hang at boottime. Are there other cases for which we will have problems ? Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message