Description of problem: Seems that dracut doesn not put FIPS *.hmac filer in initramfs, so fipscheck verification cannot succeed. Version-Release number of selected component (if applicable): dracut-023-2.fc18.x86_64 How reproducible: Easy to test, just install crypt module dracut -f -a crypt and try to run cryptsetup in initramfs "cryptsetup status x" - it will fail with FIPS check failed.
Hm, this should be perhaps F17 bug only and related only to cryptsetup. I'll post more info ASAP, seems my system is kind of broken now...
I think the problem is that hmac location changes (seems not for all packages though) to /lib/fipscheck: # ls /lib64/fipscheck cryptsetup.hmac fipscheck.hmac libcryptsetup.so.4.3.0.hmac libcryptsetup.so.4.hmac libfipscheck.so.1.1.0.hmac libfipscheck.so.1.hmac sshd.hmac ssh.hmac
Created attachment 606558 [details] Log from dracut -f -v --debug -a crypt
Hmmm. this change is 2 years old.. I wonder if cryptsetup is the first real user of fipscheck in initramfs? :) https://fedorahosted.org/fipscheck/changeset/31ef85b2a86e5e696a5dfde4665cfe2c55bb3dae
Created attachment 606673 [details] Proposed workaround for dracut-install Proposed (ugly:-) workaround for dracut-install to handle fipscheckdir
Created attachment 606674 [details] Proposed patch to make fipscheck really work in initramfs Proposed patch to make fipscheck really work in initramfs. Similar change was in RHEL6 but somehow disappeared on the way...
dracut-023-39.git20120910.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dracut-023-39.git20120910.fc18
Package dracut-023-39.git20120910.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dracut-023-39.git20120910.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13731/dracut-023-39.git20120910.fc18 then log in and leave karma (feedback).
dracut-023-39.git20120910.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.