OpenSolaris

Printable Version Enter a New Search
Bug ID 6657644
Synopsis zfs_fuid_init() panic
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Mark Shellenbaum
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_83
Fixed In snv_83
Release Fixed solaris_nevada(snv_83)
Related Bugs 6603908
Submit Date 31-January-2008
Last Update Date 13-February-2008
Description
if you create a ZFS file system and set the ACL on the directory to the following

chmod A=everyone@:rwxpdDaARWcCos:fd:allow <path>

And then map the share with the CIFS server the first time you try and create a file you will get the following panic.

vpanic()
assfail+0x7e(fffffffff807edc0, fffffffff807ef78, 29d)
dmu_tx_dirty_buf+0x2c1(ffffff02e2e4e900, ffffff02f2265ce8)
dbuf_dirty+0x63(ffffff02f2265ce8, ffffff02e2e4e900)
dbuf_will_dirty+0x60(ffffff02f2265ce8, ffffff02e2e4e900)
zap_lockdir+0x1a5(ffffff03043377e0, 1, ffffff02e2e4e900, 0, 1, 1)
zap_add+0x5f(ffffff03043377e0, 1, fffffffff808ad48, 8, 1, ffffff02fe544678)
zfs_fuid_init+0xd5(ffffff02fe544640, ffffff02e2e4e900)
zfs_fuid_find_by_domain+0x79(ffffff02fe544640, ffffff02f2263e80, 
ffffff0010ae9e38, ffffff02e2e4e900)
zfs_fuid_create_cred+0xcb(ffffff02fe544640, 0, ffffff02e2e4e900, 
ffffff02ff4b26b0, ffffff0010aea078)
zfs_perm_init+0xac(ffffff02f3c7f8c8, ffffff02f3c7f548, 0, ffffff0010aea440, 
ffffff02e2e4e900, ffffff02ff4b26b0)
zfs_mknode+0x3d4(ffffff02f3c7f548, ffffff0010aea440, ffffff02e2e4e900, 
ffffff02ff4b26b0, 0, ffffff0010aea080)
zfs_create+0x59e(ffffff03045bb400, ffffff0317d92988, ffffff0010aea440, 1, 1b6, 
ffffff0010aea5c0)
vnext_create+0xa8(ffffff0010aea2e0, ffffff0317d92988, ffffff0010aea440, 1, 1b6, 
ffffff0010aea5c0)
smb_fem_fcn_create+0x7a(ffffff0010aea2e0, ffffff0317d92988, ffffff0010aea440, 1
, 1b6, ffffff0010aea5c0)
vhead_create+0xcd(ffffff03045bb400, ffffff0317d92988, ffffff0010aea440, 1, 1b6, 
ffffff0010aea5c0)                     
fop_create+0xfe(ffffff03045bb400, ffffff0317d92988, ffffff0010aea440, 1, 1b6, 
ffffff0010aea5c0)
smb_vop_create+0xc1(ffffff03045bb400, ffffff0317d92988, ffffff0010aea908, 
ffffff0010aea5c0, 0, ffffff02ff4b26b0)
smb_fsop_create_with_sd+0x211(ffffff0317d92740, ffffff02ff4b26b0, 
ffffff02fb552308, ffffff0317d92988, ffffff0010aea908, ffffff0317d92b90)
smb_fsop_create+0x516(ffffff0317d92740, ffffff02ff4b26b0, ffffff02fb552308, 
ffffff0317d92988, ffffff0010aea908, ffffff0317d92b90)
smb_open_subr+0x40a(ffffff0317d92740)
smb_com_nt_create_andx+0x23f(ffffff0317d92740)
smb_dispatch_request+0x52f(ffffff0317d92740)
smb_session_worker+0x57(ffffff0317d92740)
taskq_d_thread+0xc6(ffffff0303041288)
thread_start+8()
Work Around
Don't set the everyone@ entry on the directory until you have created at least one file.
Comments
N/A