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

           Summary: Importing doesn't mount unencryped datasets with
                    incorrect key
    Classification: Development
           Product: zfs-crypto
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: major
          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,prompt test /export/home/testfile    
Enter passphrase for 'test': ===> Enter "test" here!
Enter again: 
# zfs create -o encryption=on test/fs_on   
# zfs create test/fs_off
# cp /etc/release /test/fs_on/
# cp /etc/release /test/fs_off/
# zpool export test
# zpool import -d /export/home test
Enter passphrase for 'test': ===> Enter "t" here!
Must be at least 2 characters.
Enter passphrase for 'test': ===> Enter "tt" here!
# df -h | grep test
# ls /test/fs_on
/test/fs_on: No such file or directory
# ls /test
#

Issues:
Importing doesn't validate the key.
If key isn't incorrect, the unencrypted datasets aren't mounted.

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