Bug 283621

Summary: Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
Product: [Fedora] Fedora Reporter: Pierre Sarrazin <sarrazip>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 7   
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: 2007-09-10 14:11:49 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 Pierre Sarrazin 2007-09-08 17:54:15 UTC
After upgrading from FC5 to F7 (with DVD), the system failed to boot and gave
this message:

  Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
  Kernel panic - not syncing: Attempted to kill init!

Kernel is 2.6.21-1.3194.fc7.

I worked around this problem by rebooting with the DVD's rescue mode, then I
chrooted to /mnt/sysimage, edited /etc/grub.conf and added "selinux=0" to the
kernel parameters.

Comment 1 Daniel Walsh 2007-09-10 14:11:49 UTC
This is a labeling problem.  If you change the machine to permissive mode you
should be able to fix the labeling.

Kernel parameters "enforcing=0 autorelabel"  Should cause the machine to boot in
permissive mode and trigger a relabel.

You can also do this at the grub prompt, and do not have to boot the rescue mode.