Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 439371 - findstoragedriverinsys () line 354: "sh: cd: slaves: No such file or directory"
findstoragedriverinsys () line 354: "sh: cd: slaves: No such file or directory"
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd (Show other bugs)
s390x Linux
high Severity high
: rc
: ---
Assigned To: Peter Jones
Milan Zázrivec
: Regression, TestBlocker
Depends On:
Blocks: 460823
  Show dependency treegraph
Reported: 2008-03-28 07:04 EDT by Milan Zázrivec
Modified: 2008-09-01 11:27 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0437
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 11:26:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0437 normal SHIPPED_LIVE mkinitrd bug fix and enhancement update 2008-05-20 09:11:44 EDT

  None (edit)
Description Milan Zázrivec 2008-03-28 07:04:14 EDT
Description of problem:
New installation of RHEL5.2-Server-20080326.0 on a s390x
When creating initrd for installed kernel, mkinitrd stays
cycling in an infinite loop causing the whole installation
to fail.

The problem is findstoragedriverinsys() routine and this while-loop:

while [ ! -L device ]; do
            if [ -L subsystem ];then
                cd slaves;
                for x in *;do
                    if [ -L $x ]; then
                        cd $x;

This is the layout of /sys/block/dm-0:

The while loop gets to /sys/block/dm-0/slaves/dasda2
and cycles in an infinite loop.

Version-Release number of selected component (if applicable):
Comment 1 RHEL Product and Program Management 2008-03-28 08:03:27 EDT
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.
Comment 2 James Laska 2008-03-28 08:03:54 EDT
Looks just like what I'm seeing when testing gfs2 partition installs (bug#438743)?
Comment 6 Peter Jones 2008-03-28 17:37:02 EDT
Fixed in mkinitrd- .
Comment 8 Milan Zázrivec 2008-03-31 03:01:05 EDT
Verified with mkinitrd-
Comment 10 errata-xmlrpc 2008-05-21 11:26:45 EDT
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.


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