OpenSolaris

Printable Version Enter a New Search
Bug ID 6558321
Synopsis zfs_share_nfs() fails the second time through
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Doug Mccallum
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_83
Fixed In snv_83
Release Fixed solaris_nevada(snv_83) , solaris_10u6(s10u6_03) (Bug ID:2161978)
Related Bugs 6455228 , 6558437 , 6668070
Submit Date 16-May-2007
Last Update Date 9-June-2008
Description
[ahl 5.16.2007]

Due to a stale cache of ZFS shares in libshare, the second invocation of zfs_share_nfs() will fail here:

        share = zfs_sa_find_share(hdl->libzfs_sharehdl, mountpoint);

This will return NULL for a share created after the initialization of libshare a few lines above. This was introduced by:

  6491973 sharemgr: zfs set sharenfs=on is slow with lots of zfs filesystems
Work Around
N/A
Comments
N/A