+++ This bug was initially created as a clone of Bug #171871 +++ Present in RHEL3 (mkinitrd-3.5.13-6.1) and RHEL4 (mkinitrd-4.2.1.6-1). 1. Run mkinitrd on the attached fstab 2. the linuxrc will contain a 3 line root mount command: mount -o defaults defaults --ro -t ext3 ext3 /dev/root /sysroot instead of: mount -o default --ro -t ext3 /dev/root /sysroot The fix is to replace the following awk commands: rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' $fstab) rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; }}' $fstab) with: rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; exit }}' $fstab) rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; exit }}' $fstab) (Notice the exit after the print statement) "Patch" by Martin Poole <mpoole> -- Additional comment from bnocera on 2005-10-27 06:39 EST -- Created an attachment (id=120458) example-fstab
This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 4.4 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 4.4 release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0315.html