bugzilla-daemon at defect.opensolaris.org
2008-Apr-15 07:43 UTC
[Bug 1203] New: ''zpool key -l'' fails when there is an mounted encrypted dataset under it
http://defect.opensolaris.org/bz/show_bug.cgi?id=1203
Summary: ''zpool key -l'' fails when there is an
mounted encrypted
dataset under it
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
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 tank /export/home/testfile# zfs create -o keyscope=dataset -o
keysource=passphrase,prompt -o encryption=on tank/fs
Enter passphrase for ''tank/fs'':
Enter again:
# zpool get all tank
NAME PROPERTY VALUE SOURCE
tank size 1016M -
tank used 144K -
tank available 1016M -
tank capacity 0% -
tank altroot - default
tank health ONLINE -
tank guid 12403668159945317403 -
tank version 11 default
tank bootfs - default
tank delegation on default
tank autoreplace off default
tank cachefile - default
tank failmode wait default
tank keysource - default
tank keystatus undefined default
# zpool set keysource=passphrase,prompt tank
# zpool key -l tank
Enter passphrase for ''tank'':
Enter again:
cannot mount ''tank/fs'': mountpoint or dataset is busy
Key load error: crypto key failure
# echo $?
1
# zpool get all tank NAME PROPERTY VALUE
SOURCE
tank size 1016M -
tank used 157K -
tank available 1016M -
tank capacity 0% -
tank altroot - default
tank health ONLINE -
tank guid 12403668159945317403 -
tank version 11 default
tank bootfs - default
tank delegation on default
tank autoreplace off default
tank cachefile - default
tank failmode wait default
tank keysource passphrase,prompt default
tank keystatus available local
#
There isn''t the issue when using ''zpool create -o
keysource=..''.
# zpool create -o keysource=passphrase,prompt tank /export/home/testfileEnter
passphrase for ''tank'':
Enter again:
# zfs create -o keyscope=dataset -o keysource=passphrase,prompt -o
encryption=on tank/fs
Enter passphrase for ''tank/fs'':
Enter again:
# zpool key -u tank
# zpool key -l tank
Enter passphrase for ''tank'':
# echo $?
0
#
--
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-Apr-18 18:35 UTC
[Bug 1203] ''zpool key -l'' fails when there is an mounted encrypted dataset under it
http://defect.opensolaris.org/bz/show_bug.cgi?id=1203
ajscarp at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|darrenm at opensolaris.org |ajscarp at yahoo.com
Status|NEW |RESOLVED
Resolution| |FIXINSOURCE
--- Comment #1 from ajscarp at yahoo.com 2008-04-18 11:35:54 ---
error messages are now suppressed in 2008-4-18 putback..
--
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.