Bug 451503
Summary: | won't boot, libblkid.so missing if selinux is on | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hin-Tak Leung <htl10> |
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: | cje, dcantrell, djuran, dwalsh, jkubin, mgrepl, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-06 15:28:11 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
Hin-Tak Leung
2008-06-15 01:40:59 UTC
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. this kind of workaround probably should be mentioned in the f9 release note (or f10), and definitely be in the yumupgradefaq. i got this too after a x86 network upgrade from f8 to f9. the old f8 kernel kept working but the f9 one produced these file not found errors and kept trying to relabel the filesystem on boot. i didn't need to make a new initrd or touch /.autorelabel - i just booted once in permissive mode. i agree this should be written up somewhere but surely it could be fixed too? so far this hasn't affected my other x86 system which was upgraded from f8 using the f9 dvd. We have fixed this in newer updates. |