https://bugzilla.novell.com/show_bug.cgi?id=881790 https://bugzilla.novell.com/show_bug.cgi?id=881790#c0 Summary: Setting encrypted filesystem on YaST fails (error code -3016) Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: lbeltrame@kde.org QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.49 Safari/537.36 Goal: change the set up of one LVM volume from unencrypted to encrypted. The current layout is as follows: [root@daneel /root]# pvs --all PV VG Fmt Attr PSize PFree /dev/sda1 --- 0 0 /dev/sda2 system lvm2 a-- 297,93g 0 /dev/system/home --- 0 0 /dev/system/root --- 0 0 /dev/system/swap --- 0 0 [root@daneel /root]# lvdisplay /dev/system --- Logical volume --- LV Path /dev/system/home LV Name home VG Name system LV UUID 0careh-mVPd-iOO4-jAZa-2ccO-psHh-rsIrf2 LV Write Access read/write LV Creation host, time 192.168.10.59, 2014-05-16 22:22:58 +0200 LV Status available # open 1 LV Size 243,93 GiB Current LE 62446 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:2 --- Logical volume --- LV Path /dev/system/root LV Name root VG Name system LV UUID Tt037c-Gu0f-vF1F-NxvK-7xqb-3T8f-YolPYP LV Write Access read/write LV Creation host, time 192.168.10.59, 2014-05-16 22:22:59 +0200 LV Status available # open 1 LV Size 50,00 GiB Current LE 12799 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Path /dev/system/swap LV Name swap VG Name system LV UUID dcT4g6-xYkp-eQFY-o5YK-mYon-dm6c-Q0Fjhf LV Write Access read/write LV Creation host, time 192.168.10.59, 2014-05-16 22:22:59 +0200 LV Status available # open 2 LV Size 4,00 GiB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 The volume that I wanted to encrypt was /dev/system/home. I attempted to use YaST2 to do this job, and accessed the disk module. After selecting the subvolume and ticking "encrypt", packages were installed and a passphrase was requested. After inputting the passphrase, I was greeted with a cryptic error (might not be precise as it's in my own locale): "Setting encryption impossible. System error code is -3016. The supplied passphrase may be wrong". Even from the logs (pasted below) it is hard to tell if it is - User error - An actual bug I ensured that all the relevant mount points were unmounted at the time I attempted this. The relevant log in /var/log/YaST2/y2log says: 2014-06-08 10:52:24 <1> daneel(2686) [Ruby] partitioning/custom_part_lib.rb:406 EmptyCryptPwdAllowed ret:false 2014-06-08 10:52:24 <1> daneel(2686) [Ruby] partitioning/custom_part_lib.rb:406 EmptyCryptPwdAllowed ret:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Storage.cc(verifyCryptPassword):2878 device:/dev/system/home l:28 erase:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(setCryptPwd):2099 ret:0 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):55 constructor SystemCmd 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2181 device:/dev/system/home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5106 nm:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5116 ret:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getDmcryptName):2393 nm:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(cryptUnsetup):1383 force:true active:false table:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(addLine):592 Adding Line 1 "Device cr_home is not active." 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(getUntilEOF):558 pid:2784 added lines:1 stderr:true 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.031126s for "/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:4 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(logOutput):610 stderr:Device cr_home is not active. 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(replaceAltName):2399 device:/dev/system/home prefix:/dev/disk/by-id/dm-name-cr_home new: 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):1969 enctype:luks dmdev:/dev/mapper/cr_home mount: format:false pwempty:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):2055 cmd:/sbin/cryptsetup -q --key-file /tmp/libstorage-7Ui1pu/pwdf luksOpen '/dev/ system/home' 'cr_home' 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/modprobe dm-crypt" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.020948s for "/sbin/modprobe dm-crypt" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup -q --key-file /tmp/libstorage-7Ui1pu/pwdf luksOp en '/dev/system/home' 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(addLine):592 Adding Line 1 "Device /dev/system/home is not a valid LUKS device." 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(getUntilEOF):558 pid:2786 added lines:1 stderr:true 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.031972s for "/sbin/cryptsetup -q --key-file /tmp/libstorage-7Ui1pu/pwdf luksOpen '/dev/system/home' 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:1 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(logOutput):610 stderr:Device /dev/system/home is not a valid LUKS device. 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2267 pos:1 luks_ok:false fs:unknown 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5106 nm:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5116 ret:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getDmcryptName):2393 nm:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(cryptUnsetup):1383 force:true active:false table:/dev/mapper/cr_home 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(addLine):592 Adding Line 1 "Device cr_home is not active." 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(getUntilEOF):558 pid:2787 added lines:1 stderr:true 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.031183s for "/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:4 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(logOutput):610 stderr:Device cr_home is not active. 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(replaceAltName):2399 device:/dev/system/home prefix:/dev/disk/by-id/dm-name-cr_home new: 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):1969 enctype:twofish dmdev:/dev/mapper/cr_home mount: format:false pwempty:false 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):2055 cmd:/sbin/cryptsetup -q --hash ripemd160:20 --cipher twofish-cbc-null --key-size 192 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/modprobe dm-crypt" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.020901s for "/sbin/modprobe dm-crypt" 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:30 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup -q --hash ripemd160:20 --cipher twofish-cbc-null --key-size 192 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.800265s for "/sbin/cryptsetup -q --hash ripemd160:20 --cipher twofish-cbc-null --key-size 192 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7496 calling prog:/sbin/udevadm settle --timeout=20 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.021868s for "/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7498 returned prog:/sbin/udevadm settle --timeout=20 retcode:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7508 device:/dev/mapper/cr_home exist:true 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7522 ret:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.073629s for "BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:2 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(removeDmTableTo):5733 mjr:254 mnr:3 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.051696s for "/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2267 pos:2 luks_ok:false fs:unknown 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5106 nm:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5116 ret:false 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getDmcryptName):2393 nm:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(cryptUnsetup):1383 force:true active:false table:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.037555s for "/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(replaceAltName):2399 device:/dev/system/home prefix:/dev/disk/by-id/dm-name-cr_home new: 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):1969 enctype:twofishSL92 dmdev:/dev/mapper/cr_home mount: format:false pwempty:false 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):2055 cmd:/sbin/cryptsetup -q --hash sha512 --cipher twofish-cbc-null --key-size 256 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/modprobe dm-crypt" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.020952s for "/sbin/modprobe dm-crypt" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup -q --hash sha512 --cipher twofish-cbc-null --key-size 256 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.127499s for "/sbin/cryptsetup -q --hash sha512 --cipher twofish-cbc-null --key-size 256 create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7496 calling prog:/sbin/udevadm settle --timeout=20 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.021653s for "/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7498 returned prog:/sbin/udevadm settle --timeout=20 retcode:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7508 device:/dev/mapper/cr_home exist:true 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7522 ret:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.060812s for "BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:2 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(removeDmTableTo):5733 mjr:254 mnr:3 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.023160s for "/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2267 pos:3 luks_ok:false fs:unknown 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5106 nm:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(usedDmName):5116 ret:false 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getDmcryptName):2393 nm:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(cryptUnsetup):1383 force:true active:false table:/dev/mapper/cr_home 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.037944s for "/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(replaceAltName):2399 device:/dev/system/home prefix:/dev/disk/by-id/dm-name-cr_home new: 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):1969 enctype:twofish256 dmdev:/dev/mapper/cr_home mount: format:false pwempty:false 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Volume.cc(getCryptsetupCmd):2055 cmd:/sbin/cryptsetup -q --hash sha512 --cipher twofish create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/modprobe dm-crypt" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.020981s for "/sbin/modprobe dm-crypt" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup -q --hash sha512 --cipher twofish create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.141438s for "/sbin/cryptsetup -q --hash sha512 --cipher twofish create 'cr_home' '/dev/system/home' < /tmp/libstorage-7Ui1pu/pwdf" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7496 calling prog:/sbin/udevadm settle --timeout=20 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.021965s for "/sbin/udevadm settle --timeout=20" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7498 returned prog:/sbin/udevadm settle --timeout=20 retcode:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7508 device:/dev/mapper/cr_home exist:true 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(waitForDevice):7522 ret:0 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.060799s for "BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null '/dev/mapper/cr_home'" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:2 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] Storage.cc(removeDmTableTo):5733 mjr:254 mnr:3 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:31 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.022616s for "/sbin/dmsetup table | /usr/bin/grep -w 254:3 | sed s/:.*// | uniq" 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2267 pos:4 luks_ok:false fs:unknown 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] Volume.cc(cryptUnsetup):1383 force:true active:false table:/dev/mapper/cr_home 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):279 stopwatch 0.038040s for "/sbin/cryptsetup remove 'cr_home'" 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] SystemCmd.cc(doExecute):299 system() Returns:0 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] Volume.cc(replaceAltName):2399 device:/dev/system/home prefix:/dev/disk/by-id/dm-name-cr_home new: 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] Volume.cc(detectEncryption):2292 ret:unknown 2014-06-08 10:52:32 <1> daneel(2686) [libstorage] Storage.cc(verifyCryptPassword):2900 ret:-3016 Reproducible: Always Steps to Reproduce: 1. Access partitioner module in YaST2 2. Select and edit partition 3. Tick "Encrypt" 4. Insert passphrase Actual Results: "Setting encryption impossible. System error code is -3016. The supplied passphrase may be wrong" is displayed Expected Results: Encryption is properly set, or the actual error of the configuration is shown. Up to date Factory from yesterday. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.