Red Hat Bugzilla – Bug 473456
Denials while booting. Prevents correct initialization unless selinux=0
Last modified: 2008-12-08 16:50:43 EST
Description of problem:
Did a F10 installation today.
I only install /, I don't install home/ nor boot/. And home/ and boot/ where created with F9. When I boot after installation I get a bunch of AVC denied (I'll past dmesg) and the machine does not boot. when I turn off selinux it allows the machine to boot, but the avc denials are still there.
Version-Release number of selected component (if applicable):
Every time I boot with enforcing=1
Steps to Reproduce:
1. On my system it happens after install.
System that is not bootable.
No denials at boot time.
Created attachment 325022 [details]
most of the denials are restorecon and two are login.
Could you try a relabel in permissive mode.
enforcing=0 on kernel line
touch /.autorelabel; reboot
yep. this did the trick It actually relabeled outmatically after the first reboot. I forgot about the bug though.
Not sure if this should be closed though. It should not give any AVC denials at first reboot. Will leave it open at your discretion
Yes the strange thing was that the /etc/selinux directory was all mislabeled. Not sure what went wrong during the install.