Red Hat Bugzilla – Bug 55208
linuxrc commands in wrong order mouting /proc
Last modified: 2007-04-18 12:37:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; SunOS 5.6 i86pc)
Description of problem:
When mkinitrd builds a ram-disk, the linuxrc script that is written has the
echo and mount commands for /proc backwards. The mount command preceeds
the echo. All other commands have the echo preceeding the actual command.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mkinitrd --nocompress /tmp/foo.img 2.4.7---
2. mount -o loop /tmp/foo.img /mnt/floppy
3. cat /mnt/floppy/linuxrc
Actual Results: mount /proc
echo Mounting /proc filesystem
Expected Results: echo Mounting /proc filesystem
Created attachment 41027 [details]
It seems I'm not the first one to notice, so FWIW, here is a patch. RH? AYT?
Fixed in CVS (mkinitrd 3.3 should show up in rawhide shortly).