Bug 447067
| Summary: | mkinitrd can't boot from encrypted LV | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Hampton <error> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | CC: | dcantrell, dwalsh, htl10, jkubin, mgrepl, wtogami |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-05-06 14:58:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Hampton
2008-05-17 15:20:31 UTC
After doing some further testing this appears to be an SELinux problem. I can boot fine from the F9 kernel/initrd when I have disabled SELinux. I was able to boot 2.6.25.3-18 but not able to boot later kernels; don't have encryption as far as I know, but mount: error while loading shared libraries: libblkid.so.1 is common. I have managed to "workaround" my problem: set permissive in /etc/sysconfig/selinux and "touch /.autorelabel" before making a new initrd and reboot to the new kernel. One the first boot after, the system does a long relabeling when it boots, logs a few warnings about denials with libblkid.so.1, but keeps going, and it basically works from there, and I can set enforcing back in /etc/sysconfig/selinux . A 2nd reboot to the new kernel is all clean and nice. I was basically following the instructions for in http://www.crypt.gen.nz/selinux/disable_selinux.html for *re*-enabling selinux. It seems that what happened was that selinux wasn't really enabled/enforced until a few kernel releases after f9, and it further wasn't helped by me upgrading f8->f9 through yum. Sorry, I meant that this kind of workaround probably should be mentioned in the f9 release note (or f10), and definitely be in the yumupgradefaq. Upgrades to F10 and F11 handle this correctly, I believe. |