Date: Fri, 8 Feb 2002 18:18:42 -0800 (PST) From: Gordon Tetlow <gordont@gnf.org> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/34743: nfsd(8) lacking signal explanation Message-ID: <200202090218.g192IgA22013@fountainhead.gnf.org>
next in thread | raw e-mail | index | archive | help
>Number: 34743
>Category: docs
>Synopsis: nfsd(8) lacking signal explanation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 08 18:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Gordon Tetlow
>Release: FreeBSD 4.4-STABLE i386
>Organization:
Novartis Institute of Functional Genomics
>Environment:
System: FreeBSD fountainhead.gnf.org 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Oct 16 19:33:20 PDT 2001 gordont@fountainhead.gnf.org:/local/usr.obj/usr/src/sys/FOUNTAINHEAD i386
>Description:
nfsd(8) in -STABLE doesn't explain that you can use kill -USR1 to kill
nfsd. -CURRENT has it documented, it's just never been MFC'd
>How-To-Repeat:
man nfsd
>Fix:
Here is a partial MFC of /usr/src/sbin/nfsd/nfsd.8 1.14
--- nfsd.8.orig Mon Feb 4 11:14:58 2002
+++ nfsd.8 Mon Feb 4 11:17:10 2002
@@ -147,6 +147,22 @@
would then be used to block nfs-related packets that come in on the outside
interface.
.Pp
+.Nm
+has to be terminated with
+.Dv SIGUSR1
+and cannot be killed with
+.Dv SIGTERM
+or
+.Dv SIGQUIT .
+.Nm
+needs to ignore these signals in order to stay alive as long
+as possible during a shutdown, otherwise loopback mounts will
+not be able to unmount.
+If you have to kill
+.Nm
+just do a
+.Dq Li "kill -USR1 <PID of master nfsd>"
+.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202090218.g192IgA22013>
