-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SELinux cannot be enabled after following all the procedures #371
Comments
If I manually call Upon next reboot all is lost though, and it returns to the 'disabled' state. Who is supposed to load these policies at boot time? My
|
I have no idea how this could happen. It is up to systemd to load a policy. You can try changing the default systemd log level to debug using |
First I'd try to use |
Enabled debug in systemd. It prints a bunch of AVC denials right after switching root from initramfs dracut (this is where the policies should've been loaded, I checked with a fresh installed distro where Selinux is enabled) This is the first one:
Note I tried do a full relabel in the system after manually loading the policies:
and rebooted, no luck. |
I disabled SELinux in an old fedora version (pre-30), and overtime upgraded the distro to 36 and now cannot enable it anymore. I am trying to make it permissive, and tried changing it on the config but it doesn't work.
I put in the
/etc/sysconfig/selinux
:symlink present:
My kernel params:
After a
touch /.autorelabel
andreboot
, it is still disabled:Tried to re-generate the initramfs image:
to no avail.
I've collected some logs, but no error found:
What else could be preventing it from enabling? Is there any tool for sanity checking?
The text was updated successfully, but these errors were encountered: