mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1418] Websocket and Firejail #964
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#964
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 @sknepal on GitHub (Jul 31, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1418
Hi,
I am using Tornado websocket via a wrapper called Terminado. With xterm.js, I am exposing a sandboxed (using Firejail) terminal to the web. When I expose a normal terminal (without sandboxing), the terminal process gets killed when user closes the connection/browser tab. But, when I expose a Firejailed bash, Firejail process still lingers on even after the user closes his tab and the socket connection is closed. So over time there are like 100s of earlier Firejail process still running on. Is there any solution to this?
Thank you!
@netblue30 commented on GitHub (Jul 31, 2017):
I'll take a look, thanks.
@sknepal commented on GitHub (Jul 31, 2017):
I was able to figure out the solution with the help of Terminado's author here. Terminado, by default, terminates the parent process which does not appear to work with Firejail. So I just used subprocess with a call to
firejail --shutdownand passed the parent PID to it. That seems to shut everything down. Thank you!