Bug 866450 - unstable output from dracut
Summary: unstable output from dracut
Keywords:
Status: CLOSED WONTFIX
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-10-15 11:57 UTC by Mads Kiilerich
Modified: 2013-05-29 13:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 13:18:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2012-10-15 11:57:34 UTC
The output of
  dracut -f -L 5
has some parts with (pseudo) random order.

That gives annoying noise when debugging and investigating differences.

The following patch makes the output stable for me:

--- module-setup.sh	2012-10-15 12:49:16.700733551 +0200
+++ /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh	2012-10-15 12:50:18.330593970 +0200
@@ -43,7 +43,7 @@
         # install unix socket support
         hostonly='' instmods unix
         instmods "=drivers/pcmcia" =ide "=drivers/usb/storage"
-        find_kernel_modules  |  block_module_filter  |  instmods
+        find_kernel_modules  |  block_module_filter  |  sort  |  instmods
         # if not on hostonly mode, install all known filesystems,
         # if the required list is not set via the filesystems variable
         if ! [[ $hostonly ]]; then

Please consider applying a patch like this.


dracut-018-105.git20120927.fc17.noarch

Comment 1 Harald Hoyer 2012-10-16 08:46:27 UTC
sorry, it's different now in upstream... why don't you use "lsinitrd" to inspect the contents of the initramfs?

Comment 2 Mads Kiilerich 2012-10-16 10:52:21 UTC
I do also use lsinitrd, but monitoring changes in the build output is convenient for getting an easy answer to exactly _why_ the content in the initramfs changed and what consequences it has to change the dracut configuration or the installed package base.

Ok, I will wait and see how it works with the next upstream version.


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