Bug 1282010

Summary: dracut -o 'systemd' should *not* install systemd
Product: [Fedora] Fedora Reporter: Mairi Dulaney <jdulaney>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dracut-maint-list, harald, jonathan, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-16 08:44:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.