Bug 556687 - dracut-003 doesn't allow encrypted root install to boot
Summary: dracut-003 doesn't allow encrypted root install to boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-19 04:20 UTC by Kevin Fenzi
Modified: 2010-01-28 00:54 UTC (History)
3 users (show)

Fixed In Version: 004-4.fc12
Clone Of:
Environment:
Last Closed: 2010-01-28 00:54:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2010-01-19 04:20:26 UTC
With dracut-003 here I am never asked for my passphrase and boot dies with a 'cannot mount root'. 

Happens with any kernel and 003-1 and 003-2. 

Happy to provide more info. 

dracut-002-13.4.git8f397a9b.fc12.noarch works fine here. 

Diffing a working vs non working with lsinitrd I see: 

1507,1508d1449
< ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
< 
1522,1523c1463,1464
< mount -t devpts -o gid=5,mode=620 devpts /dev/pts >/dev/null 2>&1
< mount -t tmpfs tmpfs /dev/shm >/dev/null 2>&1
---
> mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts >/dev/null 2>&1
> mount -t tmpfs /dev/shm /dev/shm >/dev/null 2>&1
1695a1637,1646
> # Prepare network opts for passing
> if [ -e /tmp/net.ifaces ]; then
>     mkdir /dev/.initramfs/
>     cp /tmp/net.* /dev/.initramfs/ >/dev/null 2>&1
>     mkdir -p /dev/.initramfs/state/etc/sysconfig/network-scripts/
>     cp /tmp/resolv.conf /dev/.initramfs/state/etc/ >/dev/null 2>&1
>     echo "files /etc/sysconfig/network-scripts" > /dev/.initramfs/rwtab
>     cp -a /tmp/ifcfg/* /dev/.initramfs/state/etc/sysconfig/network-scripts/ >/dev/null 2>&1
> fi
> 
1698d1648
<     mkdir /dev/.initramfs/

Happy to provide more info.

Comment 1 Fedora Update System 2010-01-26 10:49:58 UTC
dracut-004-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/dracut-004-4.fc12

Comment 2 Martin Ebourne 2010-01-26 13:30:33 UTC
I had the same bug, this updated fixes it for me.

Comment 3 Fedora Update System 2010-01-27 01:06:57 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dracut'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1088

Comment 4 Fedora Update System 2010-01-28 00:52:19 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.