Bug 1003154

Summary: dracut is broken if there's an empty /usr/lib/dracut/modules.d directory
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: dracutAssignee: dracut-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dracut-maint, harald, jonathan
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: 2014-01-07 13:37:48 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:

Description Richard W.M. Jones 2013-08-31 08:36:26 UTC
Description of problem:

See bug 1003153.  Uninstalling a module left an empty directory
in /usr/lib/dracut/modules.d.  After that, dracut would no longer
work:

I: *** Including module: i18n ***
I: *** Including module: drm ***
I: *** Including module: growroot ***
F: installkernel failed in module growroot

Deleting the directory fixed dracut.  However dracut should be
more robust in this case.  It should give a warning, naming the
empty directory, but should not fail.

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

dracut 029-1.fc19

How reproducible:

100%

Steps to Reproduce:
1. Create an empty directory under /usr/lib/dracut/modules.d
2. Try to run dracut.
3.

Actual results:

Fails, unnecessarily.

Expected results:


Additional info:

Comment 2 Richard W.M. Jones 2013-09-02 10:55:42 UTC
Patch looks good to me.

Comment 3 Richard W.M. Jones 2013-12-21 09:50:18 UTC
Since the patch is upstream, we can close this bug now, right?