Bug 1133814 - fedora-readonly hangs during systemd startjob for kernel udev
Summary: fedora-readonly hangs during systemd startjob for kernel udev
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 08:22 UTC by Marcus Moeller
Modified: 2014-09-23 04:36 UTC (History)
6 users (show)

Fixed In Version: systemd-215-14.fc21
Clone Of:
Environment:
Last Closed: 2014-09-23 04:36:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal created with systemd-udevd debug in rd.break=pre-udev (457.33 KB, text/plain)
2014-08-26 11:43 UTC, Marcus Moeller
no flags Details
last log did not contain udev debugging, this one does. (1.22 MB, text/plain)
2014-08-26 12:27 UTC, Marcus Moeller
no flags Details
serial debug (822.37 KB, text/plain)
2014-09-02 08:31 UTC, Marcus Moeller
no flags Details
serial debug without rd.debug (727.73 KB, text/plain)
2014-09-03 06:41 UTC, Marcus Moeller
no flags Details
serial debug with modified initrd (197.60 KB, text/plain)
2014-09-03 10:49 UTC, Marcus Moeller
no flags Details

Description Marcus Moeller 2014-08-26 08:22:56 UTC
On Fedora 21, a fedora-readonly root system hangs during boot with:

'A start job is running for udev Kernel Device Manager ...'

initscripts-9.55-2.fc21.x86_64
systemd-215-11.fc21.x86_64

Comment 1 Lukáš Nykrýn 2014-08-26 10:23:47 UTC
Can you please append "debug" on the kernel line and then send ouptup of journal for that boot.

http://freedesktop.org/wiki/Software/systemd/Debugging/

Comment 2 Marcus Moeller 2014-08-26 10:36:06 UTC
There is no further output when using debug. It seems as it's not systemd-udevd in the actual system, but dracut pre-udev/udev that's causing the issue.

Comment 3 Lukáš Nykrýn 2014-08-26 11:12:05 UTC
Can you please try to confirm that? For example by placing rd.break on kernel cmdline?

Comment 4 Marcus Moeller 2014-08-26 11:43:38 UTC
Created attachment 930842 [details]
journal created with systemd-udevd debug in rd.break=pre-udev

Comment 5 Marcus Moeller 2014-08-26 12:27:47 UTC
Created attachment 930881 [details]
last log did not contain udev debugging, this one does.

Comment 6 Marcus Moeller 2014-08-29 06:38:55 UTC
I have upgraded kernel and some packages like dhclient and now the boot stops directly after pre-udev.

How can I debug further. I can boot into rd.pre-udev but what could I do then?

Comment 7 Marcus Moeller 2014-09-02 08:31:23 UTC
Created attachment 933651 [details]
serial debug

Comment 8 Marcus Moeller 2014-09-03 06:41:54 UTC
Created attachment 933960 [details]
serial debug without rd.debug

Comment 9 Marcus Moeller 2014-09-03 10:49:05 UTC
Created attachment 934040 [details]
serial debug with modified initrd

Comment 10 Marcus Moeller 2014-09-03 11:42:00 UTC
The following patches are necessary to make it work again:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=6f4f8056d3f972c1e6ee7f5fc40ed283fd93152a
http://cgit.freedesktop.org/systemd/systemd/commit/?id=f3b8fbb1da6519e14985ea444f8304673d20ad3f

This one is optional, but might also help in some cases.

http://lists.freedesktop.org/archives/systemd-devel/2014-September/022845.html

Thanks to haraldh for his help on that.

Comment 11 Fedora Update System 2014-09-03 12:16:16 UTC
systemd-215-14.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/systemd-215-14.fc21

Comment 12 Fedora Update System 2014-09-06 00:59:42 UTC
Package systemd-215-14.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-215-14.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10195/systemd-215-14.fc21
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2014-09-23 04:36:54 UTC
systemd-215-14.fc21 has been pushed to the Fedora 21 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.