Bug 838356 - Some services still want systemd-udev.service, even though this was renamed to systemd-udevd.service
Summary: Some services still want systemd-udev.service, even though this was renamed t...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-08 18:13 UTC by Richard W.M. Jones
Modified: 2012-09-14 13:59 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-14 13:59:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-07-08 18:13:28 UTC
Description of problem:

Machine always boots into an emergency shell.  It seems
the problem is that some important components still
depend on systemd-udev (not systemd-udevd):

# find /usr/lib/systemd -type f | xargs grep -E 'systemd-udev[^-d]'
/usr/lib/systemd/system/fedora-wait-storage.service:Wants=systemd-udev.service systemd-udev-settle.service
/usr/lib/systemd/system/dracut-pre-udev.service:Before=systemd-udev.service dracut-pre-trigger.service
/usr/lib/systemd/system/dracut-pre-trigger.service:After=dracut-pre-udev.service systemd-udev.service
/usr/lib/systemd/system/dracut-pre-trigger.service:Wants=dracut-pre-udev.service systemd-udev.service

# rpm -qf /usr/lib/systemd/system/fedora-wait-storage.service
initscripts-9.39-1.fc18.x86_64
# rpm -qf /usr/lib/systemd/system/dracut-pre-udev.service
dracut-020-22.git20120702.fc18.x86_64

Note that dracut is one release older than the latest, but
that's because latest dracut is broken - bug 838105.  However
I'm pretty sure it was complaining about this even before
I downgraded.

Version-Release number of selected component (if applicable):

systemd-186-1.fc18.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Boot machine, it fails and drops into an emergency shell.
2. In dmesg:
[    4.088406] systemd[1]: Cannot add dependency job for unit systemd-udev.service, ignoring: Invalid argument
[    4.088452] systemd[1]: Cannot add dependency job for unit systemd-udev.service, ignoring: Invalid argument

Comment 1 Richard W.M. Jones 2012-07-08 18:15:04 UTC
OK maybe dracut one is fixed by the latest version, according
to the changelog:
http://koji.fedoraproject.org/koji/buildinfo?buildID=329329

However initscripts one is still wrong, and the machine isn't booting.

Comment 2 Richard W.M. Jones 2012-07-08 18:16:26 UTC
Actually it's not fixed even in latest dracut:

# rpm -qf /usr/lib/systemd/system/dracut-pre-udev.service
dracut-020-51.git20120706.fc18.x86_64
# grep systemd-udev /usr/lib/systemd/system/dracut-pre-udev.service
Before=systemd-udev.service dracut-pre-trigger.service

Comment 3 Richard W.M. Jones 2012-07-09 09:10:41 UTC
This seems likely to have been caused by dracut (bug 838367), so
close out this bug if it doesn't look like a real one.

Comment 4 Bill Nottingham 2012-07-09 18:50:52 UTC
The unit naming stuff in initscripts fixed in 9.38-2, anyway.

Comment 5 Lennart Poettering 2012-09-14 13:59:56 UTC
This appears to have been fixed a while back. Closing.


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