Bug 18152

Summary: /etc/exports should suggest how to get mountd to reread it
Product: Base System Reporter: phillip <phillip>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description phillip 2000-04-22 08:40:01 UTC
	New users configuring systems find it tricky to identify which
	task to signal in order to have their /etc/exports file reread.

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.
How-To-Repeat: 
	-
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2000-06-10 20:38:50 UTC
State Changed
From-To: open->analyzed

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.
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-06-06 21:33:29 UTC
State Changed
From-To: analyzed->closed

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.