Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enforcing selinux completely freeze my system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ramast
n00b
n00b


Joined: 12 Oct 2023
Posts: 4

PostPosted: Thu Oct 12, 2023 3:28 am    Post subject: Enforcing selinux completely freeze my system Reply with quote

My Setup:

Am using combination of two profiles

Code:
gentoo:default/linux/amd64/17.1/systemd/selinux
gentoo:targets/desktop/plasma


My SELinux configuration

Code:
SELINUX=permissive
SELINUXTYPE=mcs


I've followed the setup but there is one big difference:

When running id -Z after logging in to a terminal I get the expected "u_staff" but when I login to KDE/Wayland and run the command inside konsole, I get different output
Code:
system_u:system_r:initrc_t:s0


Switching my selinux from permissive to enforcing completely freeze the system or maybe just that I lose access to keyboard and mouse.
Restarting in enforcing mode would prevent sddm daemon from starting altogether.

What am I doing wrong?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Oct 14, 2023 1:34 pm    Post subject: Reply with quote

Welcome to Gentoo.
This is to be expected.
Plz dont run selinux wit KDE unlesss you want to spend weeks troubleshooting.
If you want to play with selinux start with minimal install,troubleshoot,add a daemon,troubleshoot,add another one etc.
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum