Home > OS >  Selinux enforcing mode cannot be started
Selinux enforcing mode cannot be started

Time:09-16

[for] Selinux can't start the problem
System Ubuntu 18.04

Process:
1 I modify/etc/selinux/config for enforcing, system can't normal boot,
2 then in grub changed the Linux system normal boot after=0,
3 modify/etc/selinux/config to permissive, system run normally,
4 as long as the setenforce=1 or/etc/selinux/config is modified to enforcing, system will hang up

Thinking:

Is caused because the label, so using the command fix files - f relabel, program running here, then go to Settings setenforce=1, system directly here to hang out, can't startup, only to modify the grub into the system,

Is not no/autolabel, so check and found that I really can't figure out how to solve the here,

Question:
How should I solve this problem, hope the netizens directions!

  • Related