mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #975] Steam doesn't start on Ubuntu 16.04 #665
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#665
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 @ghost on GitHub (Dec 13, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/975
I had to leave Arch because of the instability of mesa-git, so I'm on Ubuntu 16.04 for the moment.
On Arch, Steam launches fine with the latest Firejail, but on Ubuntu 16.04 it doesn't. (firejail version 0.9.44.2-1)
I don't have time to find out exactly why this happens, but I edited the Steam profile and commented one line at a time, but it didn't help.
Here's the terminal output, I hope someone could explain what to do.
@netblue30 commented on GitHub (Dec 13, 2016):
I'll give it a try, thanks.
@netblue30 commented on GitHub (Dec 13, 2016):
Updated 16.04 today. I'm getting a slightly different error, something about nvidia drivers - I don't have nvidia installed!Open /etc/firejail/snap.profile in a text editor (sudo gedit /etc/firejail/snap.profile) and comment out caps.keep line (add a # in front of it). It fixes it for me, give it a try on your system@skinkade commented on GitHub (Dec 13, 2016):
Tangential note for others: a Steam update yesterday rendered it broken for me with firejail 0.9.42 on Ubuntu 14.04. Thankfully updating to 0.9.44.2 resolved the issue.
@netblue30 commented on GitHub (Dec 14, 2016):
Sorry, I have to take back the previous message, I was confusing steam with snap... and I run in a different snap problem!
@ghost commented on GitHub (Dec 16, 2016):
@netblue30 After returning to the FOSS drivers Steam started, so to me this problem only happens if I use the AMDGPU-PRO stack, which just recently added support for Southern Islands cards (that's why I was testing it).
I leave it to you to decide whether to close this issue or not, because I'm confident there are many gamers using the -PRO stack with firejail.
@ghost commented on GitHub (Dec 17, 2016):
@amarildojr I had Steam issues when I upgraded firejail recently, maybe you have the same ones? I run Steam in its own home directory using the
--private=directoryoption, and the new profiles disable too many things. For example, running this command:firejail --private=/space/steam --noblacklist=/home/pete/\* --debug-blacklists..still lists the following as blacklisted:
Disable /home/pete/.local/share/SteamDisable /home/pete/.local/share/aspyr-mediaDisable /home/pete/.local/share/vulkanDisable /home/pete/.pki/nssdbIt seems these can't be un-blacklisted, so the workaround is to run with
--no-profilebut this is less secure. Maybe this is your issue?@netblue30 If a default profile has a blacklist for something in
${HOME}when--private=diris in effect, firejail blacklists things in the private directory. In my setup this is unnecessary as I have a separate directory for each program I run. What's your opinion on this? Should we make it so that contents of private directories can never be blacklisted? Or maybe an option like--noblacklist-privatewhich disables blacklisting in private directories?After all, the default profile files list all sorts of useful things and it would be great to still get them blacklisted while saying "everything in ${HOME} is fine as it's a private directory".
@netblue30 commented on GitHub (Dec 17, 2016):
@pmillerchip
This is true, the filesystem operations are ordered as follows: mount namespace, chroot/overlayfs/private, whitelists, blacklists.
I can add a config entry in /etc/firejail/firejail.confg file to disable blacklists and whitelists if a private command related to home directory is already present. This way you don't need to modify your existing profiles, just the entry in /etc/firejail/firejail.config. What do you think? We can even enable it by default, blacklisting on a private home directory doesn't make sense in most cases - and probably is the same for chroot.
@ghost commented on GitHub (Dec 17, 2016):
@netblue30 That sounds like a good idea, an option like
--enable-private-blacklistor something. There might be some edge cases where people want to blacklist things in a private directory, maybe if someone uses a shared private directory for two applications? Having it default to not blacklisting in private directories makes sense and would make life easier for me!