-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Experimental now triggers SELinux alerts #7285
Comments
Also seeing this when trying to run Squad/Post Scriptum with Experimental Bleeding Edge (on fedora). |
There is an update, this was a kernel bug. There are apparently several ways to trigger it. |
I have the same selinux alert but in contradiction to OPs findings, Proton 8.0-4 is also affected Game: The Talos Principle 2 [openbeta, no launch options] Newer kernel and selinux policy:
It alerts about missing directx 12 but that might be just a result of selinux blocking stuff: |
As above, it's a bug in the kernel itself. It's meant to have been fixed in 6.7.0, but they're taking their sweet time releasing it or backporting to 6.6.x. It may be fixed in 6.6.13, but can't confirm yet. |
I don't think it is in 6.6.13, still getting errors and no mention of the commit you linked in the shortlog. 😢 |
Yea, took a day for the errors to start popping again on 6.6.13. nvm |
So this is why one of my games on Lutris won't work. |
Would have no effect on that. It's basically a cosmetic warning. |
Yes it does, the game won't launch. |
The game may not launch, but not because of this. You have another issue. Most scripts on Lutris are outdated. This is just selinux complaining about a broken kernel test that doesn't like, but also doesn't interfere with WINE. |
Nvm, still not fixed in 6.7.3... |
Kernel 6.8.4 looks to have fixed it finally. Edit: It's no longer happening with Steam/Heroic, but is with Lutris. Who knows? |
It's not fixed in 6.8.4. I updated to 6.8.4 a day or two ago and today when I fired up Heroic to play Cyberpunk 2077 and got the alert from SELinux. |
Looking into it more, Proton 9.2+ doesn't trigger the alert. Wine-GE and earlier Protons do still trigger it. So WINE or Valve must have fixed the improper behaviour that was annoying SELinux. |
I set a device up with Fedora 39 a little while ago and it was showing this error with Proton. That got upgraded to Fedora 40 and is still doing it using Proton Experimental, kernel |
Continues to be an issue on Fedora 40 with kernel |
Can confirm I still get alerted on kernel 6.8.11-300.fc40 with mesa 24.0.9-1.fc40 |
I got this problem on fedora 40. type=AVC msg=audit(1719776021.695:285): avc: denied { execheap } for pid=12062 comm="wine-preloader" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=0 Hash: wine-preloader,unconfined_t,unconfined_t,process,execheap |
And a related Wine bug report: https://bugs.winehq.org/show_bug.cgi?id=56650 |
The original problem was fixed with Wine updates. Now it seems to be a conflict between kernel 6.9.x, SELinux and of course... Chromium... Doesn't seem like anyone's sure on exactly where the issue(s) lies yet. |
@Gamertech Wine on F40 got stuck at v9.5, so I can't comment on that. |
@Hasshu Don't need system Wine. Proton 9 has long since included the fix for the original issue. The electron apps triggering the same SELinux error is due to the above conflict. |
@Gamertech FWIW, Steam Play keeps causing sporadic SELinux alerts about wine-preloader on my machine. That's with Proton 9.0-2. |
@Hasshu Yes but not because of Wine itself, but because Steam is a budget electron web app. For whatever reason, Chromium combined with kernel 6.9.x is attempting to write and execute to memory in the same way Wine 8 did (execheap) and SELinux is confuzzled. |
Having the same issue when trying to run ProtonMail and Signal on Fedora 40. It seems a lot of apps rely on |
This is now (actually) fixed in kernel 6.10.6 in Fedora. Other distros may or may not backport the fix otherwise 6.11-rc4 will have it. https://bodhi.fedoraproject.org/updates/FEDORA-2024-9d98836711 |
New Proton is again triggering SELinux due to wine-preloader incorrectly attempting to access execheap in ways it shouldn't when launching certain games. Rebel Galaxy (290300) is a quick and easy test case.
Affects current Bleeding-edge. Experimental/8.0-4/GE-Proton8-23 is unaffected.
The text was updated successfully, but these errors were encountered: