bin/120289: "zfs share -a" does not send SIGHUP to mountd
Victor Sudakov
sudakov at sibptus.tomsk.ru
Tue Feb 5 11:40:02 UTC 2008
>Number: 120289
>Category: bin
>Synopsis: "zfs share -a" does not send SIGHUP to mountd
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 05 11:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Victor Sudakov
>Release: FreeBSD 7.0-BETA4 i386
>Organization:
AO "Svyaztransneft", SibPTUS
>Environment:
System: FreeBSD vbsd7.sibptus.tomsk.ru 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2 19:19:04 UTC 2007 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The command "zfs share -a" does not make mountd reread the
configuration file. One must send SIGHUP manually so that mountd
notices changes in /etc/zfs/exports
>How-To-Repeat:
1. Set the "sharenfs=on" property on some filesystem within zfs.
2. Say "zfs unshare -a"
3. Say "zfs share -a"
You won't be able to see the new shares (e.g. in "showmount -e") unless
you send SIGHUP to mountd manually.
>Fix:
A workaround: you can use "killall -HUP mountd" after every "zfs share -a"
command.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list