[Bug 799162] New: mkinitrd luks- multiple drives not recognized
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c0 Summary: mkinitrd luks- multiple drives not recognized Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: harterc1@comcast.net QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 This is from my menu.lst file. root (hd0,4) kernel /vmlinuz-3.4.11-2.16-default root=/dev/mapper/root luks_root=/dev/sda2 luks_swap=/dev/sda6 luks_home=/dev/sda3 luks="root swap home" vga=0x323 initrd /initrd-3.4.11-2.16-default my root partition can be opened upon boot with luks. The others will not open. I did some troubleshooting. It seems that for the other drives the device is left out of the cryptsetup command in the initrd by the boot-luks.sh script. Instead of "cryptsetup lukOpen dev/sda3 home", the command is run without "home". So when I type in the correct password it fails. This command is formed by a devtable which is incorrect. Reproducible: Always Steps to Reproduce: 1.boot the system 2. type in the luks password for the root partition 3. Actual Results: message says something to the effect "incorrect password" Expected Results: The luks partition should be opened then mounted using /etc/fstab -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c2 Thomas Fehr <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fehr@suse.com |lnussel@suse.com --- Comment #2 from Thomas Fehr <fehr@suse.com> 2013-01-24 10:39:25 UTC --- Reassigned to maintainer of cryptsetup -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c3 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |harterc2@att.net --- Comment #3 from Ludwig Nussel <lnussel@suse.com> 2013-01-24 11:52:12 CET --- are you on 12.2 and installed cryptsetup packages from the obs security repo? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c4 --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2013-01-24 11:53:58 CET --- doesn't seems so. Please post /etc/crypttab -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c5 --- Comment #5 from Donald Harter <harterc2@att.net> 2013-01-24 11:59:36 UTC --- The file does not exist. I thought it got that info from the kernel command line or has that been deprecated? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c Donald Harter <harterc2@att.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|harterc2@att.net | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=799162 https://bugzilla.novell.com/show_bug.cgi?id=799162#c6 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2013-01-24 13:15:32 CET --- ah, now I see that you passed something to the kernel. No that is not the correct way to do it. mkinitrd will recognize and unlock your root partition automatically No configuration needed at all. Other volumes have to be listed with the 'initrd' option in /etc/crypttab. See man 5 crypttab. You have to re-run mkinitrd after changing /etc/crypttab. -- 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.
participants (1)
-
bugzilla_noreply@novell.com