User Tools

Site Tools


fedora

Fedora

SELinux

Enabling/Disabling

Repair

1) Run kernel with selinux=0.

2) Temporarily disable enforcing SELinux

/etc/selinux/config
< SELINUX=enforcing
> SELINUX=permissive

3) Reboot

4) Run fixfiles relabel if not already done automatically

5) Enable SELinux enforcing after reboot again

Restoring File-Labels

Variant 1: Create an empty file called .autorelabel in the root and reboot

touch /.autorelabel

Variant 2: Manually fix labels (untested :!:)

fixfiles relabel
autorelabel
fedora.txt · Last modified: 2012-10-05 20:21 CEST by dominik