bugzilla-daemon at defect.opensolaris.org
2008-May-28 00:56 UTC
[Bug 2057] New: zpool key -u - permission denied should be clear
http://defect.opensolaris.org/bz/show_bug.cgi?id=2057 Summary: zpool key -u - permission denied should be clear Classification: Development Product: zfs-crypto Version: unspecified Platform: Other OS/Version: Solaris Status: NEW Severity: minor Priority: P3 Component: other AssignedTo: ajscarp at yahoo.com ReportedBy: ajscarp at yahoo.com QAContact: hua.tang at sun.com CC: zfs-crypto-discuss at opensolaris.org Estimated Hours: 0.0 While building the zfscrypto gate as my user (not root). I ran into not having permission to do the operation.. One should get a better error message for not having permission to.. In general the coding we have done for error messages in key loading is lacking in key unloading.. unload should not need as much luckily.. izick at cag-v20zb:/$ zpool key -u export Key error in ''export'': crypto key failure --- /1 at 1: <- libzfs:zpool_disable_datasets() = 0 /1 at 1: -> libzfs:unload_key(0x80bb548, 0x8042580) /1 at 1: -> libzfs:crypto_key_ioctl(0x80bb548, 0x8042580) /1 at 1: -> libzfs:zfs_ioctl(0x80bb548, 0x5a2f, 0x8042580) /1: ioctl(3, ZFS_IOC_CRYPTO, 0x08042580) Err#1 EPERM [sys_config] /1 at 1: <- libzfs:zfs_ioctl() = -1 /1 at 1: <- libzfs:crypto_key_ioctl() = 1 /1 at 1: <- libzfs:unload_key() = 1 /1 at 1: <- libzfs:zpool_unload_key() = 1 -- 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-28 22:01 UTC
[Bug 2057] zpool key -u - permission denied should be clear
http://defect.opensolaris.org/bz/show_bug.cgi?id=2057 ajscarp at yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXINSOURCE --- Comment #1 from ajscarp at yahoo.com 2008-05-28 15:01:13 --- Added error messages. -- 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.
Seemingly Similar Threads
- [Bug 871] New: ''zpool key -l'' core dumped with keysource=hex, prompt and unmatched entered in
- [Bug 744] New: hex_to_byte should trim a linefeed at the end of a file
- [Bug 668] New: libzfs:load_key() probably should allow null values for zfs_crypt_t
- [Bug 759] New: ''zpool create -o keysource=,'' hanged
- [Bug 701] New: ''zpool create -o keysource='' fails on sparc - invalid argument