Bug 488862

Summary: noisy live image boot
Product: [Fedora] Fedora Reporter: jmccann
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: cschalle, hdegoede, pjones, rstrode, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-12 15:31:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jmccann 2009-03-06 00:03:08 UTC
The livecd spews out a few messages during boot before plymouth:
Mounting proc filesystem
Mounting sysfs filesystem
Creating initial /dev
Running plymouthd

these result from echo statements in the initrd init.

These messages aren't seem during a normal system boot (only the live image).

The init created by mkliveinitrd and mkinitrd both have these kinds of echo statements.  The internal echo handler in nash only writes output if a quiet boot was not requested.  However, nash checks the path for a matching command before it runs its own handlers and the mkliveinitrd installs a /bin/echo.

Possible fixes include
 * Remove inst /bin/echo from mkliveinitrd
 * Remove echo statements from mkliveinitrd
 * Make nash check internal handlers first
 * Special case echo or something

Comment 1 Warren Togami 2009-03-06 04:33:26 UTC
This isn't nash's fault.

The only bug here is mkliveinitrd installed /bin/echo.  When it exists, it takes precedence to the nash built-in echo.  We want the built-in echo behavior.

Thus the only necessary fix is to remove installation of /bin/echo to the initrd image.

Comment 2 jmccann 2009-03-06 05:06:26 UTC
Is there an echo in here?  Pretty much what I said, no?

Comment 3 Jeremy Katz 2009-03-06 15:35:44 UTC
Committed removing /bin/echo

Comment 4 Bug Zapper 2009-06-09 11:56:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Hans de Goede 2010-01-12 15:31:41 UTC
This is a mass edit of all mkinitrd bugs.

Thanks for taking the time to file this bug report (and/or commenting on it).

As you may have heard in Fedora 12 mkinitrd has been replaced by dracut. In Fedora 12 the mkinitrd package is still around as some programs depend on
certain libraries it provides, but mkinitrd itself is no longer used.

In Fedora 13 mkinitrd will be removed completely. This means that all work
on initrd has stopped.

Rather then keeping mkinitrd bugs open and giving false hope they might get fixed we are mass closing them, so as to clearly communicate that no more work will be done on mkinitrd. We apologize for any inconvenience this may cause. 

If you are using Fedora 11 and are experiencing a mkinitrd bug you cannot work around, please upgrade to Fedora 12. If you experience problems with the initrd in Fedora 12, please file a bug against dracut.