bugzilla-daemon at defect.opensolaris.org
2008-Mar-12 14:49 UTC
[Bug 752] New: zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
Summary: zfs set keysource no longer works on existing pools
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: blocker
Priority: P1
Component: other
AssignedTo: ajscarp at yahoo.com
ReportedBy: darrenm at opensolaris.org
QAContact: hua.tang at sun.com
CC: zfs-crypto-discuss at opensolaris.org
Estimated Hours: 0.0
# zpool create -f tank mirror c0t0d0 c0t1d0 log c7t0d0 cache c6t0d0
# zpool set keysource=raw,file:///root/tank.key tank
Invalid keysource change.
# zpool key -l tank
Key Load Error: Invalid keysource property value.
However if a keysource was set at pool creation ''zpool set''
can perform the
valid changes.
# pktool genkey keystore=file keytype=aes keylen=256 outkey=tank.key
# zpool create -o keysource=raw,file:///root/tank.key -f tank mirror c0t0d0
c0t1d0 log c7t0d0 cache c6t0d0
# zpool get keysource tank
NAME PROPERTY VALUE SOURCE
tank keysource raw,file:///root/tank.key default
# zpool set keysource=raw,file:///root/key tank
# zpool get keysource tank
NAME PROPERTY VALUE SOURCE
tank keysource raw,file:///root/key default
and also correctly catches the disallowed changes, eg:
# zpool set keysource=passphrase,file:///root/key tank
Invalid keysource change.
--
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-Mar-12 16:44 UTC
[Bug 752] zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |756
--
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-Mar-13 23:43 UTC
[Bug 752] zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
Bug 752 depends on bug 756, which changed state.
Bug 756 Summary: SPARC keysource can''t be set even at pool create time
http://defect.opensolaris.org/bz/show_bug.cgi?id=756
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
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-Mar-17 17:32 UTC
[Bug 752] zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |783
--
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-Mar-18 23:25 UTC
[Bug 752] zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
ajscarp at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from ajscarp at yahoo.com 2008-03-18 16:25:25 ---
integrated on 3/18/08
--
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-02 13:28 UTC
[Bug 752] zfs set keysource no longer works on existing pools
http://defect.opensolaris.org/bz/show_bug.cgi?id=752
Bug 752 depends on bug 783, which changed state.
Bug 783 Summary: keystatus property confused about persistence.
http://defect.opensolaris.org/bz/show_bug.cgi?id=783
What |Old Value |New Value
----------------------------------------------------------------------------
Status|CAUSEKNOWN |CLOSED
Resolution| |FIXED
--
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.
Maybe Matching Threads
- [Bug 701] New: ''zpool create -o keysource='' fails on sparc - invalid argument
- [Bug 759] New: ''zpool create -o keysource=,'' hanged
- [Bug 971] New: zfs key -l fails after unloading (keyscope=dataset)
- [Bug 1053] New: ''zfs create'' core dumped with keysource=hex, prompt and unmatched entered in
- [Bug 871] New: ''zpool key -l'' core dumped with keysource=hex, prompt and unmatched entered in