Bug 1282010 - dracut -o 'systemd' should *not* install systemd
Summary: dracut -o 'systemd' should *not* install systemd
Keywords:
Status: CLOSED RAWHIDE
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: 2015-11-14 08:23 UTC by Mairi Dulaney
Modified: 2015-11-17 09:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-16 08:44:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mairi Dulaney 2015-11-14 08:23:41 UTC
Description of problem:
If I run dracut -o 'systemd' -o 'dracut-systemd' dracut will still install systemd, despite:
dracut module 'systemd' will not be installed, because it's in the list to be omitted!

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

Version: 043-60.git20150811.fc24

How reproducible:
Always

Steps to Reproduce:
1. run dracut -o 'systemd' -o 'dracut-systemd'

Actual results:

-rwxr-xr-x   1 root     root       379072 Nov 14 03:18 usr/bin/systemd-run
-rwxr-xr-x   1 root     root       551704 Nov 14 03:18 usr/lib64/libsystemd.so.0.12.0
lrwxrwxrwx   1 root     root           20 Nov 14 03:18 usr/lib64/libsystemd.so.0 -> libsystemd.so.0.12.0
lrwxrwxrwx   1 root     root           20 Nov 14 03:18 usr/lib64/libsystemd.so -> libsystemd.so.0.12.0
drwxr-xr-x   4 root     root            0 Nov 14 03:18 usr/lib/systemd
drwxr-xr-x   2 root     root            0 Nov 14 03:18 usr/lib/systemd/network
-rw-r--r--   1 root     root           80 Nov 11 07:21 usr/lib/systemd/network/99-default.link
drwxr-xr-x   9 root     root            0 Nov 14 03:17 usr/lib/systemd/system
-rwxr-xr-x   1 root     root       460808 Nov 14 03:18 usr/lib/systemd/systemd-udevd


Expected results:
None of the above, or even if it does (somehow) wind up being present, don't attempt to boot it.

Comment 1 Harald Hoyer 2015-11-16 08:44:54 UTC
Thanks! Cleanup up dracut.

https://github.com/haraldh/dracut/commit/2da041d6727e1dac8e751e305c7dc4cf01e34ed5

systemd-udevd cannot be omitted though.

dracut-043-174.git20151116

Comment 2 Mairi Dulaney 2015-11-16 17:09:32 UTC
Hey, thanks much!  Just out of curiosity, would it be possible to get dracut to use mdev rather than udev?

Comment 3 Harald Hoyer 2015-11-17 09:01:31 UTC
(In reply to John Dulaney from comment #2)
> Hey, thanks much!  Just out of curiosity, would it be possible to get dracut
> to use mdev rather than udev?

Feel free to add a mdev dracut module. I will not officially support it though and I cannot test it.


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