On 02/19/2010 09:11 AM, Maurizio D'Antonio wrote:
Hi all,
I have installed CentOS 5.4 on the VirtualBox for "play" with SELinux.
After installation, I enabled SELinux with policy in "target mode".
The system is booting without error.
I decided the enable SELINUXTYPE=strict mode, but at first reboot I
receive
the following message:
"
Red Hat nash version 5.1.19.6 starting
Unable to load SELinux Policy. Machine is in enforcing mode. Halting
now.
Kernel panic - not syncing: Attempted to kill init!
"
The only solution is to disable SELinux at the boot.
[ kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet selinux=0 ]
What is the problem?
Where I wrong?
Thx
.:M:.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux
The first time you boot permissive in RHEL5/Centos5 Strict policy, you
have to boot in permissive mode and perform a relabel. Since all the
labeling is not correct, specifically shared libraries, init is not
allowed access and panics.
enforcing=0 autorelabel
on the kernel command line will make this happen.
|
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux