http://bugzilla.novell.com/show_bug.cgi?id=588698
http://bugzilla.novell.com/show_bug.cgi?id=588698#c2
Thomas Fehr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |s.assmann@gmx.de
--- Comment #2 from Thomas Fehr 2010-03-17 10:53:16 UTC ---
We call a fsck after luksOpen and the fsck shows errors (the fsck is done for
historical reasons since the old twofish based encryption you could only
detect correct password and encryption type by doing a fsck).
Also strange is that cryptsetup shows "device busy" which is also strange.
/sbin/cryptsetup -q --key-file /tmp/libstorage-ge0O0K/pwdf luksOpen '/dev/sda3'
'cr_sda3'"
device-mapper: remove ioctl failed: Device or resource busy
Key slot 0 unlocked.
Return code is 0, so luksOpen seems to succeed anyway.
The fsck certainly fails:
/sbin/fsck.ext4 -n -f '/dev/mapper/cr_sda3'
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -5111928 -5111933 -5111988 -5111992 -5126535
-(5126537--5126539) -5126541 -(5126543--5126544) -(5126547--5126548) -5126550
-(5126552--5126557) -(5126561--5126562) -(5126564--5126565) -(5126567--5126568)
-(5126570--5126571) -5126573 -(5126577--5126578) -5126581 -5126584
-(5126586--5126587) -5126591 -5126593 -(5126595--5126598) -(5126600--5126601)
-(5126603--5126604) -5126606 -5126608 -5126610 -(5126612--5126613) -5126615
-(5126617--5126622) -5126624 -5126626 -5126629 -(5126634--5126635)
-(5126638--5126642) -(5126644--5126646) -5126652 -5126655 -5128241 -5128308
-5128312 -5128381 -5128433 -5128440 -5128500 -5128509 -5128561 -5128573
-5128625 -5128628 -5129268 -5129272 -5129329 -5129393 -5129405 -5129457
-5129460 -5129464 -5129469 -5129521 -5129528 -5129585 -5129588 -5129592
-5129597 -5129649 -5129656 -5129716 -5129725 -(5134588--5134590)
-(5134594--5134597) -(5134599--5134601) -5134607 -5134609 -5134612
-(5134615--5134616) -(5134619--5134620) -(5134626--5134629) -5134631 -5134633
-(5134635--5134636) -(5134638--5134641) -(5134646--5134648) -(5134651--5134653)
-(5134656--5134657) -(5134659--5134661) -5134664 -(5134668--5134669) -5134672
-(5134680--5134682) -(5134685--5134686) -(5134688--5134690) -5134694 -5134698
-5134702 -(5134705--5134706) -(5134708--5134709) -5134712 -(5134715--5134717)
-5134719 -(5134721--5134722) -(5134724--5134725) -(5134727--5134729) -5134731
-(5134736--5134737) -5134739 -(5134742--5134745) -(5134747--5134749) -5134751
-(5134753--5134754) -5134759 -(5134761--5134762) -5134766 -5134769
-(5134771--5134772) -(5134775--5134776) -5134778 -5134780 -5134783 -5134789
-(5134791--5134797) -5134800 -5134805 -5134807 -(5134811--5134812) -5134815
-5134819 -5134821 -5134823 -(5134825--5134826) -(5134828--5134829)
-(5134832--5134834) -5134836 -(5134839--5134840) -5134843 -5134847 -5135421
-5135473 -5135476 -5135485 -5135537 -5135540 -5135544 -5135608 -5135613
-5135665 -5135672 -5135729 -5135736 -5135741 -5135793 -5135800 -5135857
-5135864 -5137791 -5137793 -(5137795--5137797) -5137801 -5137805
-(5137807--5137813) -(5137817--5137819) -(5137821--5137822) -5137826
-(5137828--5137830) -(5137834--5137835) -5137841 -(5137844--5137847)
-(5137850--5137851) -5137853 -5137855 -(5137857--5137858) -(5137860--5137861)
-(5137864--5137866) -(5137869--5137870) -(5137872--5137875) -5137878
-(5137881--5137882) -5137885 -5137889 -5137892 -(5137896--5137897) -5137899
-5137906 -(5137908--5137911) -5137913 -(5137916--5137917) -(5139713--5139719)
-5139722 -(5139725--5139728) -(5139732--5139735) -5139738 -(5139744--5139745)
-5139747 -(5139749--5139750) -5139755 -(5139758--5139759) -(5139763--5139765)
-(5139767--5139769) -(5139772--5139773) -5139775 -(5139779--5139780) -5139783
-5139786 -(5139790--5139791) -(5139793--5139794) -5139798 -5139802 -5139804
-(5139806--5139808) -5139812 -5139814 -(5139817--5139819) -5139821
-(5139824--5139826) -5139828 -5139832 -5139834 -(5139836--5139841) -5139845
-(5139849--5139850) -(5139852--5139853) -(5139858--5139860) -5139862
-(5139866--5139867) -5139871 -5139874 -(5139876--5139877) -(5139882--5139883)
-(5139888--5139890) -5139892 -5139897 -5139901 -5139903 -5139908 -5139910
-5139912 -(5139916--5139917) -(5139919--5139920) -5139923 -5139926
-(5139930--5139931) -(5139933--5139938) -5139940 -(5139942--5139943)
-(5139948--5139949) -(5139951--5139953) -5139957 -(5139959--5139960) -5139963
-5139965 -5139967
Fix? no
Free blocks count wrong for group #156 (32768, counted=32336).
Fix? no
Free blocks count wrong (13974111, counted=13973679).
Fix? no
/dev/mapper/cr_sda3: ********** WARNING: Filesystem still has errors **********
/dev/mapper/cr_sda3: 22635/3742848 files (1.8% non-contiguous), 968097/14942208
blocks
The fsck problems lead to YaST2 assuming the password to be wrong.
Nevertheless doing an additional fsck for luks encrypted volumes
makes no sense since the zero return code from luksOpen should sufficiently
prove that password and encryption tyoe is correct. I will chnage that.
Could you check if the fsck errors are also present when you setup the
encryption manually.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.