mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #942] If name of the sandbox isn't defined... #641
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#641
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 @0xBRM on GitHub (Nov 26, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/942
... it should be the name of the application by default.
@netblue30 commented on GitHub (Nov 27, 2016):
What happens if you have multiple instances of the same application sandboxed?
@0xBRM commented on GitHub (Nov 27, 2016):
That's precisely why I proposed this. To make it more hassle free to use --join=application.
Basically, yesterday I was playing around with firejail and trying to join an existing firefox sandbox, but couldn't even though the name matched. Later I read the documentation only to find out I had to name the sandbox beforehand.
If there are extra instance of the same application sandboxed, then maybe the naming convention should be as follows:
First application: application1
Second application without explicitly issuing --join: application2
and so on
@0xBRM commented on GitHub (Nov 27, 2016):
Just found an odd behaviour. Firejail allows you to have two sandboxes with the exact same name.
I opened firefox with
firejail --name=firefox firefoxand launched mpv on youtube with the extension play with mpv. Firefox was then closed, but mpv, the child process, is still working, so, issuingfirejail --listresults inThen I opened another instance of firefox, using the same
firejail --name=firefox firefoxcommand and issued the same command to list active sandboxes:and then I tried to join an existing 'firefox' sandbox:
... which one did it join?
@netblue30 commented on GitHub (Nov 28, 2016):
OK, I'll mark it as an enhancement and try to bring it in.
@0xBRM commented on GitHub (Nov 29, 2016):
Thanks!
@chiraag-nataraj commented on GitHub (Jul 25, 2018):
As far as I know, this still isn't in. @netblue30 Is there an easy way to keep track of how many instances of an application are open? Or is it easier to just generate a random number and append it to the program's name?
@chiraag-nataraj commented on GitHub (May 20, 2019):
This should be in...closing.