-
Notifications
You must be signed in to change notification settings - Fork 558
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
lutris: Ubisoft Connect: Error at hooking API #6035
Comments
Setting ignore to seccomp !modify_ldt and seccomp.32 !modify_ldt fixes this issue.
Should I close this issue or keep it open? |
Thank you for reporting. Disabling the seccomp filter like you did might fix your issue, but the lutris sandbox would be more hardened if we could ascertain an improved, working filter. Let's keep this open so people can chime in to try determining such a replacement seccomp filter. Could you try to find a working seccomp filter? There's more info here. |
@glitsj16 When I run : |
That's relevant info, thanks! Anyhing in journalctl when you |
@glitsj16
|
@nutta-git |
@glitsj16 Term2) Original Issue and nothing was listed on journalctl I tried: And it seems to work fine, but nothing is being listed in journalctl |
I don't mean to impose, but can you try to reproduce the issue by following the steps found in the First Post. |
No problem. I'll try to reproduce over the weekend, although my hardware isn't any good for gaming & wine. We can keep this open for a while. Other collaborators/users might have input. |
Tried allow-debuggers? |
@rusty-snake Then I re-ran the test. Term1) Term2) Now I no longer get the original issue, nothing is listed in journalctl I tried: Same result as the first command, no issue and no journalctl log |
I think I found the right syscalls for this issue: ptrace,clone3 (and optionally) process_vm_readv. I had
|
Nice finds! Please consider opening a PR. |
Fix for netblue30#6035 I don't know if !process_vm_readv is required see
Need to whitelist `ptrace` and `clone3` for Ubisoft Connect to work. journalctl did list `process_vm_readv` when a game was running, but it didn't crash the game. Fixes netblue30#6035.
Description
Ubisoft connect doesn't work with Lutris's default profile.
Steps to Reproduce
ln -s /usr/bin/firejail /usr/local/bin/lutris
cp /etc/firejail/lutris.profile ~/.config/firejail/lutris.profile
(to a whitelist a single folder)firecfg --fix
Expected behavior
Ubisoft Connect should work without throwing an error
Actual behavior
Lutris gave an API error[]
Behavior without a profile
rm /usr/local/bin/lutris
Ubisoft Connect starts fine without Firejail profile
Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/program
Output of
LC_ALL=C firejail --debug /path/to/program
lutris-firejail-debug.txt
The text was updated successfully, but these errors were encountered: