Bug 840380 - dracut can't find the network module even though it's installed
Summary: dracut can't find the network module even though it's installed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 17
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: 2012-07-16 08:01 UTC by Sandro Mathys
Modified: 2012-07-16 09:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-16 09:28:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dracut --M --force --verbose --debug 2> dracut.err (3.93 MB, application/octet-stream)
2012-07-16 08:01 UTC, Sandro Mathys
no flags Details

Description Sandro Mathys 2012-07-16 08:01:57 UTC
Created attachment 598389 [details]
dracut --M --force --verbose --debug 2> dracut.err

Description of problem:
dracut reports 'Dracut module "network" cannot be found.' even though it is installed.

Version-Release number of selected component (if applicable):
dracut-018-78.git20120622.fc17.noarch
dracut-network-018-78.git20120622.fc17.noarch

How reproducible:
Always.

Steps to Reproduce:
1. yum install -y dracut{,-network}
2. dracut --force -M
  
Actual results:
'Dracut module "network" cannot be found.' x4

Expected results:
New initramfs is built with the network module included

Additional info:
dracut.conf and 01-dist.conf are untouched. Our additional custom conf looks like this (note: we only really need nfsroot support from network module and there's no local disks in this setup whatsoever):
# Dracut modules to omit
omit_dracutmodules+="btrfs crypt dm dmraid dmsquash-live fcoe ifcfg iscsi lvm mdraid nbd"

# install local /etc/mdadm.conf
mdadmconf="no"

# install local /etc/lvm/lvm.conf
lvmconf="no"

Comment 1 Harald Hoyer 2012-07-16 09:28:40 UTC
//etc/dracut.conf.d/10-ethz.conf@2(): omit_dracutmodules+='btrfs crypt dm dmraid dmsquash-live fcoe ifcfg iscsi lvm mdraid nbd'

The network module depends on the ifcfg module and you have forced dracut to omit this module.

I agree, that the error message could state that and will fix it.


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