Bug 1003154 - dracut is broken if there's an empty /usr/lib/dracut/modules.d directory
Summary: dracut is broken if there's an empty /usr/lib/dracut/modules.d directory
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
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-31 08:36 UTC by Richard W.M. Jones
Modified: 2014-01-07 13:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-07 13:37:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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?


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