Red Hat Bugzilla – Bug 432044
F9-Alpha Fails to Load init with SELinux Error
Last modified: 2008-02-18 10:25:27 EST
Description of problem:
After a fresh install of F9-Alpha on an x86_64 machine, booting fails with the
/sbin/init error: error while loading shared libraries: libsepol.so.1: cannot
open shared object file: Permission denied
Kernel panic - not syncing: Attempted to kill init!
Upon rebooting with kernel option "selinux=0", booting succeeds but I saw the
following message in the screen log:
Mount failed for selinuxfs on /selinux: No such device
I'm not sure if that message was there without "selinux=0" (it scrolled by too
THis looks like a badly mislabeled system.
You can label it by adding
to the kernel boot line.
If this was a fresh install, and it ended up in this state, it sounds like an
Adding "autorelabel enforcing=0" allowed it to boot, but when I reboot it
(without changing grub.conf) and let it run with default Fedora kernel
parameters, it again locked hard with the same error.
Yes, this was a fresh install (only /home was not reformatted).
Should I refile? Or can this bug be redirected?
If you boot in permissive mode (enforcing=0) grab the audit.log and attach it.
Created attachment 294628 [details]
audit.log with "autorelabel enforcing=0"
Looks like it never relabeled.
Shoulod relabel it in permissive mode. Then reboot should work.
Now I'm installing F9-Alpha to test it ... result will come soon.