From owner-freebsd-current Sun Feb 25 11:44:12 2001 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 77A6337B503; Sun, 25 Feb 2001 11:44:05 -0800 (PST) (envelope-from mb@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f1PJi2056321; Sun, 25 Feb 2001 20:44:02 +0100 (CET) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 25 Feb 2001 20:44:28 +0100 (CET) From: Martin Blapp To: alfred@freebsd.org, dillon@earth.backplane.com Cc: current@freebsd.org Subject: some proposals about nfsd(8) 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 Hi, nfsd.c has the following lines: (void)signal(SIGQUIT, SIG_IGN); (void)signal(SIGTERM, SIG_IGN); So nfsd(8) can only be killed by -9. Does this make sense ? Unregistering withing rpcbind or portmap is not possible, so one has to kill portmap(8) or rpcbind(8) and restart all the rpc services which had registered themself within portmapper. Very very bad. This also rises some questions about 'nfsd -r'. This flag is used to reregister an existing nfsd within portmapper or rpcbind. But since we use 'nfsd -h' to allow nfsd to bind to one or more IP's, it's broken for some part cause the wrong addresses get registered. It's better to kill nfsd and restart it. So my first proposal is to remove the SIG_IGN lines and adding a signal handler for unregistering nfs within portmapper or rpcbind. Second, I'd like to have this 'nfsd -r' removed, cause it's broken in the concept anyway and useless. Kill nfsd and restart does the same, and the binding is done the right way. Martin Martin Blapp, mb@imp.ch ------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 79 370 26 05, Fax: +41 61 826 93 01 ------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message