http://bugzilla.novell.com/show_bug.cgi?id=521446 Summary: luks initrd script doesn't wait for device to appear before calling cryptsetup Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ms@novell.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b99) Gecko/20090604 SUSE/3.5b99-1.2 Firefox/3.5b99 I used the luks extension for a USB stick and the luks.sh code calls cryptsetup on the stick root device before the node appears The following patch fixes that problem: --- boot-luks.sh.orig 2009-07-07 15:08:22.000000000 +0200 +++ boot-luks.sh 2009-07-07 15:12:46.000000000 +0200 @@ -26,5 +26,7 @@ esac for curluks in $luks; do - /sbin/cryptsetup luksOpen $(eval echo \$luks_${curluks}) $curluks + DEVICE="$(eval echo \$luks_${curluks})" + check_for_device "$DEVICE" + /sbin/cryptsetup luksOpen "$DEVICE" $curluks done Reproducible: Always Steps to Reproduce: 1. create kiwi oem image with luks="password" enabled 2. dump image on stick 3. boot the first time 4. boot the second time with standard mkinitrd 5. boom -- 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.