mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2119] Running any GOG game under Firejail is extremely awkward #1437
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#1437
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 @kozross on GitHub (Sep 22, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2119
I'm on Firejail 0.9.54 with seccomp support. Previously, I would run GOG games with Firejail as follows:
and everything worked fine (using Darkest Dungeon as an example). However, the GOG support library requires the
name_to_handle_atsyscall in at least this particular case, which is on the default blocklist. Aside from being an incredible pain to figure out, as far as I can tell, this mandates the call now look like this:While I understand that I could stuff that in a bash script and go about my day, this is rather annoying, as all I really want to do is whitelist a single syscall from the default list. Additionally, as far as I can tell, I can't create my own seccomp group (like @darkestdungeon or something).
Am I missing something here?
@SkewedZeppelin commented on GitHub (Sep 22, 2018):
You can create a profile for that and just
firejail --profile=./games/gogs.profile ./games/x/y/z/start.shfor any games that use something more unique then start.sh, we can upstream this profile and add many aliases for it so you can just eg.
firejail ./games/gogs/darkest-dungeon/ddgameor if it is in your path simplyfirejail ddgame@kozross commented on GitHub (Sep 22, 2018):
@SkewedZeppelin Thanks for the suggestion! Unfortunately, all GOG games have a
start.shentry point, because they have some incredibly heterogenous ways of being called. I'll definitely start making more use of profiles either way, though.@rusty-snake commented on GitHub (Jun 30, 2019):
do we want to continue or close the idea with profiles for gog?
@kozross commented on GitHub (Jul 1, 2019):
Close it - I'm not sure I have the time to do this now.