Description of problem: at some situations mkinitd fail to create image with don`t find ide-disk module. Version-Release number of selected component (if applicable): mkinitrd-4.2.1.6-1 How reproducible: 100% Steps to Reproduce: 1. has box without connected ide drivers 2. try to create initrd image. Actual results: fail Expected results: create initrd image Additional info: posible fix. # diff -u mkinitrd.old mkinitrd --- mkinitrd.old 2006-10-07 12:43:19.000000000 -0400 +++ mkinitrd 2006-10-07 12:44:15.000000000 -0400 @@ -418,8 +418,8 @@ fi # If we have ide devices and module ide, do the right thing -ide=/proc/ide/ide* -if [ -n "$ide" ]; then +ls '/proc/ide/ide*' >& /dev/null +if [ $? -eq 0 ]; then for n in $PREIDEMODS; do findmodule $n done
ps. i found this bug at trustix linux but seems same bug exist at RH EL3/RH EL/4.