u/DaStranga

Steam games aren't launching despite selinuy-policy-targeted-gaming and require 'setsebool -P selinuxuser_execmod 1' instead

Hey everyone,

I ported my living room PC to Slowroll a couple of days ago and I finally managed to share my steam library between multiple user accounts; I have a personal account and a guest account for my roommates and for potential guests. It was a rather painful process that involved changing umasks, creating a group for both users, running chmod g+s (with an additional command, I don't remember the specifics) on the game drive drive, creating login scripts to symlink steam compatdata to the users respective home folders etc. but, strangely, SELinux kept games from launching despite me having the selinux-policy-targeted-gaming package installed. Before setting up my library for multiple users, games would work out of the box (at least for one user), now they don't.

I also tried reinstalling the package but my games didn't begin to launch unless I ran "setsebool -P selinuxuser_execmod 1".

This is not really a big deal for me, I'm really happy that I got it working (for now), but I'm curious why this could be happening. Doesn't the package basically run the same command/set the same variable anyway? If not, is my system marginally more insecure if I do it through the command and not the package? I never had any experience with SELinux so far and I kinda wanted try it out the right way this time, even if it's probably not that important for a living room PC.

Thanks in advance to anyone who has any idea! Also, thanks to Developers behind OpenSUSE and everything open source running on my PCs right now of course, it's amazing that this exists.

reddit.com
u/DaStranga — 18 hours ago