[GH-ISSUE #1121] Persistent sandboxes #770

Closed
opened 2026-05-05 06:37:33 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @xrisk on GitHub (Mar 3, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1121

So I am trying to create a single persistent sandbox, which I will later join on. Is this possible at the moment? I read through the man page and it didn’t seem possible to me.

Something like:

firejail & does not work - it immediately quits. (I think it is because the bash process there receives EOF).

Is the solution then to use something like screen/tmux to keep it running?

Maybe you can add a feature for just creating a sandbox without creating any process inside it...

Originally created by @xrisk on GitHub (Mar 3, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1121 So I am trying to create a single persistent sandbox, which I will later `join` on. Is this possible at the moment? I read through the man page and it didn’t seem possible to me. Something like: `firejail &` does not work - it immediately quits. (I think it is because the bash process there receives EOF). Is the solution then to use something like screen/tmux to keep it running? Maybe you can add a feature for just creating a sandbox without creating any process inside it...
gitea-mirror 2026-05-05 06:37:33 -06:00
Author
Owner

@netblue30 commented on GitHub (Mar 3, 2017):

firejail & does not work - it immediately quits. (I think it is because the bash process there receives EOF)

I'll try to bring something in!

<!-- gh-comment-id:284054742 --> @netblue30 commented on GitHub (Mar 3, 2017): > firejail & does not work - it immediately quits. (I think it is because the bash process there receives EOF) I'll try to bring something in!
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 22, 2018):

Couldn't you just use firejail sleep inf? You can use --profile to set the actual profile to load and --name to set the name.

<!-- gh-comment-id:406889876 --> @chiraag-nataraj commented on GitHub (Jul 22, 2018): Couldn't you just use `firejail sleep inf`? You can use `--profile` to set the actual profile to load and `--name` to set the name.
Author
Owner

@xrisk commented on GitHub (Jul 23, 2018):

Thank you! This works just fine.

<!-- gh-comment-id:407089277 --> @xrisk commented on GitHub (Jul 23, 2018): Thank you! This works just fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#770
No description provided.