Bug 283621 - Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
Summary: Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 7
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-08 17:54 UTC by Pierre Sarrazin
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-10 14:11:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.