bugzilla-daemon at defect.opensolaris.org
2008-May-27 13:15 UTC
[Bug 2049] New: ''zfs key -c'' changes keysource & keyscope while returning an error
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.
bugzilla-daemon at defect.opensolaris.org
2008-May-27 14:06 UTC
[Bug 2049] ''zfs key -c'' changes keysource & keyscope while returning an error
http://defect.opensolaris.org/bz/show_bug.cgi?id=2049
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CAUSEKNOWN
--- Comment #1 from Darren J Moffat <darrenm at opensolaris.org>
2008-05-27 07:06:05 ---
There was missing code for the keyscope case.
--
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-27 14:42 UTC
[Bug 2049] ''zfs key -c'' changes keysource & keyscope while returning an error
http://defect.opensolaris.org/bz/show_bug.cgi?id=2049
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CAUSEKNOWN |FIXINPROGRESS
--
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-27 14:53 UTC
[Bug 2049] ''zfs key -c'' changes keysource & keyscope while returning an error
http://defect.opensolaris.org/bz/show_bug.cgi?id=2049
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|FIXINPROGRESS |CLOSED
Resolution| |FIXINSOURCE
--
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 08:35 UTC
[Bug 2049] ''zfs key -c'' changes keysource & keyscope while returning an error
http://defect.opensolaris.org/bz/show_bug.cgi?id=2049 --- Comment #2 from Grace <hua.tang at sun.com> 2008-05-28 01:35:42 --- zfs_key_c_006 failed due to this bug. -- 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.