Bug 113180 - [zfs] Setting ZFS nfsshare property does not cause inheritance for current session
Summary: [zfs] Setting ZFS nfsshare property does not cause inheritance for current se...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 7.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Jakub Dawidek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 06:50 UTC by David Van Cleef
Modified: 2009-09-07 21:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Van Cleef 2007-05-31 06:50:03 UTC
	
If a heirarchy of nfsshared ZFS filesystems exists, and a non-leaf filesystem
has its nfsshare property changed, the children have their zfs property properly
changed, however the current nfs export-state is not changed for the children.

How-To-Repeat: 	
# zfs create -o sharenfs="node1" tank/exports/top
# zfs create tank/exports/top/bottom
# showmount -e localhost
/tank/exports/top/bottom	node1
/tank/exports/top		node1
# zfs set sharenfs="node2" tank/exports/top
# showmount -e localhost
/tank/exports/top/bottom	node1
/tank/exports/top		node2
# zfs get sharenfs tank/exports/top
NAME           PROPERTY  VALUE                        SOURCE
tank/exports/top  sharenfs  node2  local
# zfs get sharenfs tank/exports/top/bottom
NAME                PROPERTY  VALUE                        SOURCE
tank/exports/top/bottom  sharenfs  node2  inherited from tank/exports/top
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-05-31 06:56:49 UTC
Responsible Changed
From-To: freebsd-bugs->pjd

Reassign to Pawel since this appears to be affecting ZFS. 
Pawel can you have a look at this please?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-05-28 23:19:56 UTC
Responsible Changed
From-To: pjd->freebsd-fs

With pjd's permission, reassing ZFS-related PRs to freebsd-fs.
Comment 3 Pawel Jakub Dawidek freebsd_committer freebsd_triage 2014-06-01 06:36:47 UTC
State Changed
From-To: open->closed

The problem you described was related to buggy detection of shared file 
systems which I just fixed. With this fix I'm not able to reproduce your 
problem, sharenfs property on parent changes children too as confirmed 
with 'showmount -e'. Thanks for the report! 


Comment 4 Pawel Jakub Dawidek freebsd_committer freebsd_triage 2014-06-01 06:36:47 UTC
Responsible Changed
From-To: freebsd-fs->pjd

I'll take this one.