OpenSolaris

Printable Version Enter a New Search
Bug ID 6626168
Synopsis zfs can incorrectly log uids for failed mappings
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_78
Fixed In snv_78
Release Fixed solaris_nevada(snv_78) , solaris_10u6(s10u6_03) (Bug ID:2161992)
Related Bugs
Submit Date 5-November-2007
Last Update Date 9-June-2008
Description
If an ACL is set which has an ephemeral ids in ACEs that don't have valid mappings then the intent log needs to be aware of this. 

In this scenario idmap will return UID_NOBODY and the ACL will be created with UID_NOBODY instead of the ephemeral id. 

The problem is that the logging code needs to be aware that the users ephemeral id was mapped to UID_NOBODY during VOP_SETSECATTR().  This is pretty easy to fix.  Just need to log a dummy domain, and then during replay rather than a FUID being created, a UID_NOBODY id will be used instead.

This is a pretty unlikely scenario, but it should be handled correctly.
Work Around
N/A
Comments
N/A