bugzilla-daemon at defect.opensolaris.org
2008-May-29 16:33 UTC
[Bug 2084] New: zpool import warns when keyscope not yet set
http://defect.opensolaris.org/bz/show_bug.cgi?id=2084 Summary: zpool import warns when keyscope not yet set Classification: Development Product: zfs-crypto Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: minor Priority: P4 Component: other AssignedTo: darrenm at opensolaris.org ReportedBy: darrenm at opensolaris.org QAContact: hua.tang at sun.com CC: zfs-crypto-discuss at opensolaris.org Estimated Hours: 0.0 braveheart# zpool import -d /dev/zvol/dsk/back_pool/ front_pool Invalid keysource property value. Encrypted datasets with keyscope=pool will not be mounted. but: braveheart# zpool get keysource front_pool NAME PROPERTY VALUE SOURCE front_pool keysource - default In this case while the message is correct that we won''t mout keyscope=pool datasets it a) shouldn''t be printed and b) keysource isn''t invalid it just hasn''t ever been set which c) means there could actually never be any keyscope=pool encrypted datasets yet. -- Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
bugzilla-daemon at defect.opensolaris.org
2008-May-29 21:48 UTC
[Bug 2084] zpool import warns when keyscope not yet set
http://defect.opensolaris.org/bz/show_bug.cgi?id=2084 ajscarp at yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXINSOURCE --- Comment #1 from ajscarp at yahoo.com 2008-05-29 14:48:56 --- instead of doing a separate check in zpool, i''m letting it go into the library, since it already has a version check, and add zpool_load_key to avoid import with keystatus=undefined. Then zpool checks the zpool_load_key return codes and displays your message when error > 0 and !ENOTSUP (aka version) -- Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.