Red Hat Bugzilla – Bug 1028435
FIPS check fails one some RHEV-H isos
Last modified: 2014-01-09 09:53:11 EST
Description of problem:
The fips check fails on some RHEV-H isos because /sysroot/dev/.initramfs does not exist.
dracut should use /dev/.initramfs instead.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot one of the latest rhevh builds (brew) with fips=1
fips check fails
fips check passes
Created attachment 821603 [details]
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This was masked in earlier builds due to kernel bug 1016146. Now
that the kernel bug has been fixed this bug was uncovered.
The problem is that dracut is looking in the incorrect location for the kernel hmac.
A suggested workaround is to symlink the kernel into the correct path at image creation time:
# ln -s /dev/.initramfs/live/isolinux/vmlinuz0 /boot/vmlinuz-<version>
This fix doesn't work, because the vmlinuz-* files are removed later in the livecd creation process.
This bug can be triggered by adding fips=1 to the kernel cmdline
1. Auto install with fips=1
storage_init=/dev/sda adminpw=XXX fips=1 firstboot
2. check grub
1. Auto install with fips=1 can successful no panic.
2. fips=1 stored in grub.conf.
So the bug is fixed with above version.
can you provide info if it's fixed in 6.5-20131121.0.el6ev.noarch?
(In reply to Eyal Edri from comment #10)
> can you provide info if it's fixed in 6.5-20131121.0.el6ev.noarch?
it's not fixed in 6.5-20131121.0.el6ev.noarch and 6.5-20131129.2.0.
dracut version in 6.5-20131129.2.0 is dracut-fips-004-335.el6.noarch.
can you try please latest released RHEV-H - 6.5-20131127.0.el6ev.noarch.
fabian - i don't know how to verify this, or where is the list of FIXED bugs per a rhevh build (would be nice to automate this and get a report per build).
tested 6.5-20131127.0.el6ev.noarch, not fixed too
(In reply to Eyal Edri from comment #12)
> can you try please latest released RHEV-H - 6.5-20131127.0.el6ev.noarch.
> fabian - i don't know how to verify this, or where is the list of FIXED bugs
> per a rhevh build (would be nice to automate this and get a report per
normally all bugs fixed for a RHEV-H build can be found in the corresponding erratum. This wasn't really a bug in RHEV-H, therefor no RHEV-H bug existed which could be put in an errata.
This bug can be tested by appending fips=1 to the kernel arguments.
The fix for this problem landed in dracut-004-336.el6_5.1, see bug 1029846 for the 6.5 bug (this bug is tracking the 6.6 bug/fix).