mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1303] Using private command doesn't use '.local's, uses main profile. #886
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#886
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 @snrgarb on GitHub (May 23, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1303
I'm going to try and explain the best I can, sorry if I confuse you.
I'm trying to get multiple instances of a game running but whenever I attempt to use FireJail as an alternative, I'm hit with 'only run once instance at a time' error. As I know, this isn't FireJail's fault but I'm just trying to explain my issue.
I have a username
gabrieland I installed steam in the/home/gabriel/.local/yada yada, and I'm trying to get it to use a--private=steam_2. There is a folder calledsteam_2where I installed steam inside which created it's own/steam_2/.local/Steamyada yada, but it's installing the game into/home/gabriel/.local/.Is this an issue with my Steam setup or am I misinterpreting what the
--privatecommand does?Command used:
firejail --private=steam_2No errors are returned.
EDIT: After some debugging, it's come down to that whenever I use the
--privatecommand, it isn't enforcing the given direct as it's${HOME}. For example, if I use the commandfirejail --private=steam_jailand then use the command,echo ${HOME}, it'll return/home/gabrieland not/home/gabriel/steam_jail. Am I doing something wrong?@netblue30 commented on GitHub (May 23, 2017):
It is normal, /home/gabriel/steam_jail is mounted on top of /home/gabriel.
Steam uses some unknown mechanism to communicate between two instances of steam running in parallel. It is probably some UNIX socket, and it escapes our sandboxing. There is no way you can get around it, at least for now.
@snrgarb commented on GitHub (May 23, 2017):
Oh okay, thanks for the information.