http://defect.opensolaris.org/bz/show_bug.cgi?id=2049
Summary: 'zfs key -c' changes keysource & keyscope while returning an error Classification: Development Product: zfs-crypto Version: unspecified Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P3 Component: other AssignedTo: darrenm at opensolaris.org ReportedBy: hua.tang at sun.com QAContact: hua.tang at sun.com CC: zfs-crypto-discuss at opensolaris.org Estimated Hours: 0.0 # zpool create -o keysource=passphrase,file:///export/home/passfile test /export/home/testfile # zfs create -o encryption=on test/fs # zfs get keysource test/fs NAME PROPERTY VALUE SOURCE test/fs keysource default # zfs key -c -o keyscope=dataset -o keysource=passphrase,prompt test/fs Enter new passphrase for 'test/fs': ===> Enter "test" here! Enter again: ===> Enter "t" here! Key change error: Invalid argument # zfs get keysource test/fs NAME PROPERTY VALUE SOURCE test/fs keysource passphrase,prompt local # zfs get keyscope test/fs NAME PROPERTY VALUE SOURCE test/fs keyscope dataset local # zfs get keystatus test/fs NAME PROPERTY VALUE SOURCE test/fs keystatus available - In this case, the first and second entered in doesn't match, so 'zfs key -c' failed. But it changed keysource & keyscope anyway. The changes shouldn't happen. -- 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.