mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1492] Xonotic doesn't launch with firejail #998
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#998
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 @pizzadude on GitHub (Aug 24, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1492
I run Ubuntu MATE 17.04 with the latest firejail built from git.
I have Xonotic installed from playdeb, but I had the same issue with the "regular" version from Xonotic's website.
If I do "locate xonotic" it resides in:
/usr/bin/xonotic
/usr/games/xonotic
/usr/lib/games/xonotic
/usr/share/games/xonotic
I tried adding "noblacklist /usr/share/games/xonotic" to the firejail profile but that didn't do anything.
I also tried adding "xonotic" to private-bin.
This is the output of "firejail xonotic"
`Reading profile /etc/firejail/xonotic.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 32521, child pid 32522
Warning: skipping asound.conf for private /etc
Child process initialized in 200.18 ms
Parent is shutting down, bye...
`
And here's the output with the --debug flag.
http://paste.ubuntu.com/25380452/
I tried disabling seccomp for the xonotic profile, that did nothing.
Any ideas?
@pizzadude commented on GitHub (Aug 24, 2017):
@SpotComms I tried what you suggested and it works.
@pizzadude commented on GitHub (Aug 24, 2017):
The culprit is private-bin.
@pizzadude commented on GitHub (Aug 24, 2017):
Nope.
@pizzadude commented on GitHub (Aug 24, 2017):
I also added darkplaces-glx and darkplaces-sdl to that and it didn't make a difference.
@pizzadude commented on GitHub (Aug 24, 2017):
Yeah, I noticed you edited it, so I added the edited version, but it didn't make a difference.
@pizzadude commented on GitHub (Aug 24, 2017):
Hmmm, for some weird reason /usr/bin/xonotic doesn't exist. It showed up in a "whereis" though.
This is /usr/games/xonotic:
#!/bin/sh
cd /usr/share/games/xonotic
./xonotic-linux-glx.sh $@ -xonotic
And this is xonotic-linux-glx.sh
https://gist.github.com/pizzadude/20f9f873c0a685a1a4bab15a862d5268
@pizzadude commented on GitHub (Aug 24, 2017):
No dice.
@pizzadude commented on GitHub (Aug 24, 2017):
It might be because of the contents on xonotic-linux-glx.sh
@pizzadude commented on GitHub (Aug 24, 2017):
It works now but there's no audio.
@pizzadude commented on GitHub (Aug 24, 2017):
Yes.
@SkewedZeppelin commented on GitHub (Aug 24, 2017):
Append
,group,passwdto private-etc@pizzadude commented on GitHub (Aug 24, 2017):
That doesn't solve it.
Also, thanks for putting up with this issue for so long 👍
@netblue30 commented on GitHub (Aug 25, 2017):
Thanks @SpotComms, all merged.
@SkewedZeppelin commented on GitHub (Aug 25, 2017):
@netblue30 audio is still partially broken on some systems, we might just need to comment private-etc