Bug 867943 - Systems don't boot when dracut 024-1 is used to build the initramfs
Summary: Systems don't boot when dracut 024-1 is used to build the initramfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 15:51 UTC by Bruno Wolff III
Modified: 2012-12-20 16:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:16:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
blkid -o udev output (2.57 KB, text/plain)
2012-10-18 15:52 UTC, Bruno Wolff III
no flags Details
/proc/cmdline (124 bytes, text/plain)
2012-10-18 15:53 UTC, Bruno Wolff III
no flags Details
/proc/mdstat (40 bytes, text/plain)
2012-10-18 15:54 UTC, Bruno Wolff III
no flags Details
dmesg output (65.32 KB, text/plain)
2012-10-18 15:54 UTC, Bruno Wolff III
no flags Details
/etc/fstab (635 bytes, application/octet-stream)
2012-10-18 15:57 UTC, Bruno Wolff III
no flags Details
/etc/dracut.conf (1.24 KB, text/plain)
2012-10-18 15:58 UTC, Bruno Wolff III
no flags Details

Description Bruno Wolff III 2012-10-18 15:51:36 UTC
Description of problem:
When I try to boot a system using an initramfs built with dracut 024-1 I get dropped to a dracut prompt before the rootfs password is requested.

Version-Release number of selected component (if applicable):
024-1 (on both f18 and f19).

How reproducible:
It seems to happen all of the time on the systems I have.

Comment 1 Bruno Wolff III 2012-10-18 15:52:41 UTC
Created attachment 629533 [details]
blkid -o udev output

Comment 2 Bruno Wolff III 2012-10-18 15:53:19 UTC
Created attachment 629534 [details]
/proc/cmdline

Comment 3 Bruno Wolff III 2012-10-18 15:54:04 UTC
Created attachment 629535 [details]
/proc/mdstat

Comment 4 Bruno Wolff III 2012-10-18 15:54:42 UTC
Created attachment 629536 [details]
dmesg output

Comment 5 Bruno Wolff III 2012-10-18 15:57:34 UTC
Created attachment 629538 [details]
/etc/fstab

Comment 6 Bruno Wolff III 2012-10-18 15:58:33 UTC
Created attachment 629539 [details]
/etc/dracut.conf

Comment 7 Bruno Wolff III 2012-10-18 16:01:04 UTC
There were a lot of messages referring to initqueues that didn't make it into the dmesg output. I wasn't able to find init.log (which is maybe where they would have ended up), so I don't have a log of them.

Comment 8 Harald Hoyer 2012-10-19 08:51:27 UTC
(In reply to comment #7)
> There were a lot of messages referring to initqueues that didn't make it
> into the dmesg output. I wasn't able to find init.log (which is maybe where
> they would have ended up), so I don't have a log of them.

It's all in the journal.

# journalctl -a

Comment 9 Harald Hoyer 2012-10-19 08:58:20 UTC
[    0.000000] Command line: ro root=/dev/mapper/luks-467a842c-0c9e-4fad-b670-15edc0dd2485 SYSFONT=True LANG=en_US.UTF-8 KEYTABLE=us rdshell rdinitdebug


Err... you did not specify "rd.luks.uuid=467a842c-0c9e-4fad-b670-15edc0dd2485" which anaconda would have added for you.

And dracut does not include "/etc/crypttab" anymore, because it's host specific.

It seems to be a custom install also, because the luks.uuid is missing.

Anyway.. it should have worked. I'll debug it on my local machine.

Comment 10 Harald Hoyer 2012-10-19 09:18:13 UTC
ok, found the bug.

"rd.auto" is not automatically switched on for F18.

Does it work, if you add "rd.auto=1" to the kernel command line?

This will be the default in the next build.

Comment 11 Fedora Update System 2012-10-19 10:08:05 UTC
dracut-024-5.git20121019.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dracut-024-5.git20121019.fc18

Comment 12 Bruno Wolff III 2012-10-19 15:10:18 UTC
Should https://fedoraproject.org/wiki/How_to_debug_Dracut_problems get updated to reference journalctl instead of init.log? (Is init.log gone from all supported Fedora versions now?)

dracut-024-5.git20121019.fc18 works fine for me.

Comment 13 Fedora Update System 2012-10-19 15:42:17 UTC
Package dracut-024-5.git20121019.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-024-5.git20121019.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16448/dracut-024-5.git20121019.fc18
then log in and leave karma (feedback).

Comment 14 Harald Hoyer 2012-11-13 13:05:01 UTC
(In reply to comment #12)
> Should https://fedoraproject.org/wiki/How_to_debug_Dracut_problems get
> updated to reference journalctl instead of init.log? (Is init.log gone from
> all supported Fedora versions now?)
> 
> dracut-024-5.git20121019.fc18 works fine for me.

I would prefer to let the wiki point to:
http://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html

which is generated from:
http://git.kernel.org/?p=boot/dracut/dracut.git;a=blob;f=dracut.asc

for which I happily accept any patches to improve the document.

Comment 15 Harald Hoyer 2012-11-13 13:06:51 UTC
(In reply to comment #12)
> Is init.log gone from all supported Fedora versions now?

init.log is gone in all initramfs, which contain systemd (Fedora >= 18)

Comment 16 Fedora Update System 2012-12-20 16:16:14 UTC
dracut-024-5.git20121019.fc18 has been pushed to the Fedora 18 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.