-
Notifications
You must be signed in to change notification settings - Fork 25
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
wine-lol could not run due to modify_ldt being banned by flatpak #85
Comments
Thanks for the report. However, I don't think it's possible to fix this on our side. Is the syscall really essential for the wine build to work? |
Yes, I've patched out the ban on modify_ldt in flatpak just to test it.
The solution right now would be to ask flatpak to add a switch to allow modify_ldt.
A better way would be to invent a fix that doesn't require LDT.
|
@alaviss Consider opening an issue under: https://github.com/flatpak/flatpak/issues |
Is this still an issue? I'm looking to run league of legends in a sandbox. |
Hello! how did you patch out the ban? I am trying to set League on PS4 gentoo but I get this error. Can you please tell? |
Removing these lines should do: |
How do you access the code to remove those lines? |
You'd have to build your own flatpak package. This differs a whole lot between distributions. For Gentoo at least, I can just put a patch file at the right location and it will apply it automatically to every version of |
This should now be fixed, now that flatpak/flatpak#5082 has been merged! |
Yep, looks like flatpak 1.15.0 will include this fix 🎉 |
That's to be expected, the patch fixing this bug has not made it to a stable flatpak release yet. |
I'm using 1.15 and I still have this issue Edit: nvm, started my PC again today and tested it, seems to be working. |
Describe the problem
The patch for League of Legends in lutris wine uses the LDT to store data. The syscall responsible for this (
modify_ldt
) is however banned by flatpak via seccomp, causing wine to not be able to launch any application.Is it reproducible with native Lutris?
No
Steps to reproduce
Expected behavior
League of Legends is installed
Actual behavior
Flatpak info
flatpak --version
flatpak --gl-drivers
The text was updated successfully, but these errors were encountered: