mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6306] lutris: Lutris 5.17 uses new paths and syscalls #3235
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nutta-git on GitHub (Apr 12, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6306
Description
Lutris 5.17 is a Major update with more than 540 commits. New features include the new umu wine-launcher package.
This requires new file / syscall permissions to run games (tested with uplay).
I won't follow the traditional reporting style since it's a lot of work.
Yes, I tested it without the firejail profile and lutris 5.17-1 did run fine.
Steps to Reproduce
Steps to reproduce the behavior
New File permission
*whitlisting .local/share/Steam/Compatabliltytools.d will not work, lutris now need access to the whole /Steam folder (as far as i can see)
New syscall permission
!clone,!mount,!pivot_root,!umount2Other permission
remove
restrict-namespacesCopy of my current lutris.profile:
@nutta-git commented on GitHub (Apr 12, 2024):
Once this is tested, I can make a pull request.
@ghost commented on GitHub (Apr 12, 2024):
ignorelooks odd here. It's supposed to override an option that get's included later (in either the same foo.profile or in a redirect). Isnetfiltercausing breakage?@nutta-git commented on GitHub (Apr 12, 2024):
When I included a copy of my lutris.profile it wasn't meant to be used a reference implementation for this issue, but
It was meant to show a visual of how the new rules are added.
Please "ignore" that.
I think I added that because i was already using a firewall and/or was testing around stuff.
@ghost commented on GitHub (Apr 12, 2024):
Thanks for clearing that up!
@OwlInSpace commented on GitHub (May 4, 2024):
Lutris 5.17 wasn't working for me too. I like restrictive sandboxes, so I tried seeing the minimum possible permissions to make it work, and all I really needed wasseccomp !modify_ldt,!ptrace,!process_vm_readv.Without those I get this on repeat until it gives up after I think 8 tries:I'm on the latest version of Firejail and Lutris from the Fedora repo, and I tested this with Steam for Windows.I haven't tried the new features though, so I don't know what works with those. I used the default wine runner for testing so different runners might need more permissions as @nutta-git mentionedThis has already been fixed with #6067
@kmk3 commented on GitHub (May 4, 2024):
This was already done in #6067.
Does it work with firejail-git?
@OwlInSpace commented on GitHub (May 4, 2024):
I'm using the Fedora 40 package which is Firejail 0.9.72. That is the latest release, but it was released on Jan 16, 2023 which is before #6067. I should've checked if there was other issues on this in hindsight, thanks for mentioning the pull request