Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2008 11:38:48 GMT
From:      Victor Sudakov <sudakov@sibptus.tomsk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/120289: "zfs share -a" does not send SIGHUP to mountd
Message-ID:  <200802051138.m15BcmNT040768@freefall.freebsd.org>
Resent-Message-ID: <200802051140.m15Be15S040844@freefall.freebsd.org>

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

>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@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:



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