[GH-ISSUE #1289] firejail doesn't exit automatically when running firefox #879

Closed
opened 2026-05-05 07:01:57 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @zanculmarktum on GitHub (May 20, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1289

I have browser.showQuitWarning set to true in about:config.

The issue occured when I close firefox when it has more than one tab opened, and then firefox will ask Do you want Firefox to save your tabs for the next time it starts?, I clicked Save and Quit.

The output of pgrep -ai fire:

3216 firejail firefox -offline
3220 firejail firefox -offline
3225 firefox -offline

and then it becomes:

3216 firejail firefox -offline
3220 firejail firefox -offline

The firejail process keeps remain in the background and I had to kill 3216 3220 it, or else it will conflicts with other sandboxed process.

Originally created by @zanculmarktum on GitHub (May 20, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1289 I have `browser.showQuitWarning` set to `true` in `about:config`. The issue occured when I close firefox when it has more than one tab opened, and then firefox will ask `Do you want Firefox to save your tabs for the next time it starts?`, I clicked `Save and Quit`. The output of `pgrep -ai fire`: > 3216 firejail firefox -offline > 3220 firejail firefox -offline > 3225 firefox -offline and then it becomes: >3216 firejail firefox -offline >3220 firejail firefox -offline The firejail process keeps remain in the background and I had to `kill 3216 3220` it, or else it will conflicts with other sandboxed process.
gitea-mirror 2026-05-05 07:01:57 -06:00
Author
Owner

@netblue30 commented on GitHub (May 24, 2017):

I cannot reproduce it here. Instead of pgrep, can you please run in another terminal "firejail --tree". It will tell us what process is keeping the sandbox open.

<!-- gh-comment-id:303868180 --> @netblue30 commented on GitHub (May 24, 2017): I cannot reproduce it here. Instead of pgrep, can you please run in another terminal "firejail --tree". It will tell us what process is keeping the sandbox open.
Author
Owner

@Anyon3 commented on GitHub (Jun 3, 2017):

I reproduced this bug

Firejail doesn't exit automatically when machine-id is used, removing it make the sandbox exit

This happen when using https://github.com/pyllyukko/user.js can't tell you which options make this bug

Edit : I have this on a fresh private=~/directory without the user.js or any plugins, can't find why...

<!-- gh-comment-id:305981257 --> @Anyon3 commented on GitHub (Jun 3, 2017): I reproduced this bug Firejail doesn't exit automatically when machine-id is used, removing it make the sandbox exit This happen when using https://github.com/pyllyukko/user.js can't tell you which options make this bug Edit : I have this on a fresh private=~/directory without the user.js or any plugins, can't find why...
Author
Owner

@Anyon3 commented on GitHub (Jun 5, 2017):

Here the log when I quit Firefox, I need to ctrl + c to make firejail exit (see the ^C in the log) Hope it's help

http://paste.geeknode.org/?bf9a746f7ceca236#OABMyAe0hiegkytXCGdKy0ovSSWTez/p7wnq5de4+M8=

<!-- gh-comment-id:306078121 --> @Anyon3 commented on GitHub (Jun 5, 2017): Here the log when I quit Firefox, I need to ctrl + c to make firejail exit (see the ^C in the log) Hope it's help http://paste.geeknode.org/?bf9a746f7ceca236#OABMyAe0hiegkytXCGdKy0ovSSWTez/p7wnq5de4+M8=
Author
Owner

@netblue30 commented on GitHub (Jun 6, 2017):

There are other things not working when machine-id is used, among them PulseAudio. I know Firefox uses machine-id to synchronize bookmarks among other things. I'll close the bug it for now.

<!-- gh-comment-id:306629644 --> @netblue30 commented on GitHub (Jun 6, 2017): There are other things not working when machine-id is used, among them PulseAudio. I know Firefox uses machine-id to synchronize bookmarks among other things. I'll close the bug it for now.
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#879
No description provided.