Description of problem: On a 5.2 system with latest mkinitrd from 5.4 I was trying to rebuild the initrd image to verify bug #479270. # rpm -q mkinitrd mkinitrd-5.1.19.6-52 # uname -a Linux dell-pe650-02.rhts.bos.redhat.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux # mkinitrd test-$(uname -r) $(uname -r) cat: /proc/sys/crypto/fips_enabled: No such file or directory /sbin/mkinitrd: line 1171: [: : integer expression expected /sbin/mkinitrd: line 1663: [: : integer expression expected /sbin/mkinitrd: line 1748: [: : integer expression expected # echo $? 0 The initrd image is created but notice the errors.
pjones: http://fpaste.org/paste/12998 pjones: should fix it.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Fixed in mkinitrd-5.1.19.6-53 .
# ls -l /proc/sys/crypto/fips_enabled ls: /proc/sys/crypto/fips_enabled: No such file or directory # rpm -q mkinitrd mkinitrd-5.1.19.6-53 # uname -a Linux athlon5 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 athlon i386 GNU/Linux # mkinitrd test-$(uname -r) $(uname -r) # echo $? 0 # ls -l test-2.6.18-92.el5 -rw------- 1 root root 3118733 May 27 04:09 test-2.6.18-92.el5 initrd image is created and no error for /proc/sys/crypto/fips_enabled. Tested on i386 and ia64. Moving to VERIFIED.
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 therefore 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-2009-1345.html