Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2008 11:12:11 GMT
From:      Victor Sudakov <sudakov@sibptus.tomsk.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/120288: "zfs share -a" does not send SIGHUP to mountd
Message-ID:  <200802051112.m15BCBT2030462@www.freebsd.org>
Resent-Message-ID: <200802051120.m15BK1SB039465@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120288
>Category:       bin
>Synopsis:       "zfs share -a" does not send SIGHUP to mountd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 11:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Victor Sudakov
>Release:        7.0-BETA4
>Organization:
AO "Svyaztransneft", SibPTUS
>Environment:
FreeBSD vbsd7.sibptus.tomsk.ru 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2
 19:19:04 UTC 2007 root@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 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802051112.m15BCBT2030462>