From phillip@mirriwinni.cse.rmit.edu.au  Sat Apr 22 00:30:46 2000
Return-Path: <phillip@mirriwinni.cse.rmit.edu.au>
Received: from mirriwinni.cse.rmit.edu.au (pm.cse.rmit.edu.au [131.170.118.50])
	by hub.freebsd.org (Postfix) with ESMTP id E94F037B6BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Apr 2000 00:30:43 -0700 (PDT)
	(envelope-from phillip@mirriwinni.cse.rmit.edu.au)
Received: (from phillip@localhost)
	by mirriwinni.cse.rmit.edu.au (8.9.3/8.9.3) id RAA39277;
	Sat, 22 Apr 2000 17:30:41 +1000 (EST)
	(envelope-from phillip)
Message-Id: <200004220730.RAA39277@mirriwinni.cse.rmit.edu.au>
Date: Sat, 22 Apr 2000 17:30:41 +1000 (EST)
From: Phillip Musumeci <phillip@mirriwinni.cse.rmit.edu.au>
Reply-To: phillip@mirriwinni.cse.rmit.edu.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: Improvement to sample/default /etc/exports file
X-Send-Pr-Version: 3.2

>Number:         18152
>Category:       conf
>Synopsis:       /etc/exports should suggest how to get mountd to reread it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 22 00:40:01 PDT 2000
>Closed-Date:    Wed Jun 6 13:33:29 PDT 2001
>Last-Modified:  Wed Jun 06 13:34:16 PDT 2001
>Originator:     Phillip Musumeci
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
RMIT Comp Sys Eng Dept.
>Environment:

	Any FreeBSD system that is an NFS server

>Description:

	New users configuring systems find it tricky to identify which
	task to signal in order to have their /etc/exports file reread.

>How-To-Repeat:

	-

>Fix:
 
        I suggest we prepend the default /etc/exports file with something like 
 
# 
# After applying changes to the /etc/exports file, issue command 
# 
#  kill -SIGHUP `cat /var/run/mountd.pid` 
# 
# to update exports known by the nfsd server tasks.  See also "man mountd". 
# 
# (If you have not enabled NFS serving, revisit the system admin tool or 
# edit /etc/rc.conf, and then reboot or start nfsd manually). 
# 
 
        Thanks, Phillip. 
 



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: phk 
State-Changed-When: Sat Jun 10 12:38:50 PDT 2000 
State-Changed-Why:  
This is actually a nice idea, but we don't ship an /etc/exports file 
at this time, so we can't really use the idea right now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18152 
State-Changed-From-To: analyzed->closed 
State-Changed-By: phk 
State-Changed-When: Wed Jun 6 13:33:29 PDT 2001 
State-Changed-Why:  
Our /etc/rc* files look for the existence of /etc/exports, 
not for the existence of non-comment lines in it.  Distributing 
a default /etc/exports will take som long-haired /etc/rc* 
work. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18152 
>Unformatted:
