[Bug 298906] [NEW] initrd can't mount root luks partition correctly on raid1

razboinik razboinik at gadast.net
Mon Nov 17 02:12:45 UTC 2008


Public bug reported:

Well I created a raid 1 for my root partition and then encrypted it with luks, updated initrd and restarted
and when booting it failed it took me lot of time to debug but then i noticed that
on file:
scripts/local-top/cryptroot: line 236

if /sbin/cryptsetup isLuks $cryptsource > /dev/null 2>&1; then
failed and was taking my partition as if it werent luks
so i just commented that out (and the else) update initrd and my partition booted well

so not sure if the cryptsetup luks identification just fails on raid or
normal partition also but is still a bug

also, i can't successfully enter my passphrase the first time (for what i see in the script must be a timeout issue)
/dev/md1 is not ready when prompted with the password, so there should be a check for this

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
initrd can't mount root luks partition correctly on raid1
https://bugs.launchpad.net/bugs/298906
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list