Bug 500830
Summary: | 11-Preview: boot passphrase not accepted | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | mkinitrd | Assignee: | Peter Jones <pjones> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dcantrell, fedora, hdegoede, katzj, krh, pjones, rstrode, tomek, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-18 20:48:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 446452 |
Description
Richard W.M. Jones
2009-05-14 12:49:48 UTC
Reassigning this to component plymouth. I examined the initrd and have seen that plymouth is the command used to ask for the password. Additional: Using 'cryptsetup luks*' commands I changed the passphrase on the device to 123456 Anaconda still accepts this passphrase, but plymouth still can't boot with it. Seems it's not the length or the particular characters within the passphrase which are the problem. Ah ha, found the problem! I booted Anaconda from a USB device. In Anaconda, the mapping of devices is: /dev/sda - USB memory stick /dev/sdb - Hard disk Unfortunately at boot time the mapping is the other way around: /dev/sda - Hard disk /dev/sdb - USB memory stick The initrd contains hard references to /dev/sdb2, eg: ./init:echo Setting up disk encryption: /dev/sdb2 ./init:plymouth ask-for-password --command "cryptsetup luksOpen /dev/sdb2 luks-e9db38bd-f184-461d-9a42-c6c232e69653" which is why it failed - Plymouth was trying to open the wrong device. I manually rebuilt the initrd to change sdb2 -> sda2, and the machine boots correctly. Anyhow, this is definitely a bug, but I have no idea which component it should go into. Perhaps back to mkinitrd? anaconda? mkinitrd is the right place for this. Peter is looking at some ways to fix And putting on the blocker list as we have lots of people that install from the live image on a USB key and they may choose to use encryption. Should be fixed in 6.0.84-1 . I tested Peter Jones's updated mkinitrd package and I can report that it works. *** Bug 475748 has been marked as a duplicate of this bug. *** That's tagged, closing this. And I did installs today off of a live image running off of a USB stick that included the new mkinitrd and the system booted afterwards (... conveniently, this was the problem that I had hit and started looking at Wednesday afternoon and then Peter pointed me to this Thursday morning :) |