http://defect.opensolaris.org/bz/show_bug.cgi?id=1974


Grace <hua.tang at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|'zpool key -l' fails after  |'key -l' fails after
                   |changing keysource locator  |changing keysource locator
                   |by 'zpool set keysource'    |by 'set keysource'




--- Comment #2 from Grace <hua.tang at sun.com>  2008-05-19 19:09:07 ---
The failure also happens to "zfs key", but the error messages are a little
different.I am changing the bug summary.

# zfs create -o keysource=passphrase,prompt -o encryption=on -o
keyscope=dataset tank/fs
Enter passphrase for 'tank/fs': 
Enter again: 
# echo test > /export/home/passphrase_file 
# zfs set keysource=passphrase,file:///export/home/passphrase_file tank/fs
# zfs key -u tank
# zfs key -l tank
Key error in 'tank': Encryption not enabled.
#

# zfs create -o keysource=passphrase,file:///export/home/passphrase_file  -o
encryption=on -o keyscope=dataset tank/fs
# zfs set keysource=passphrase,prompt tank/fs
# zfs key -u tank
# zfs key -l tank
Key error in 'tank': Encryption not enabled.
#

-- 
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.

Reply via email to