-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Services preventing firejail from stopping #928
Comments
I'll mark it as an enhancement,. The default is keep the sandbox running for as long as there are still processes running in the sandbox. I will probably add a new command line option, where the sandbox monitors a specific process and kills everything else if the process dies. Thanks for suggesting it, it makes sense in some cases. |
One idea would be to provide an option in the application profile to start services outside of the sandbox like normally. Might be the cleanest way. |
Yes, this will work if you know what services to start. Most of the time you don't know. |
It would be great also for #725. Right now unported KDE apps, when they don't run on KDE Plasma 4, launch all kinds of services inside the sandbox which keep running when the sandbox is closed. |
@netblue30 Was this ever implemented? |
Is there any progression about this issue ? Can we expect a fix for this or not ? One of most critically needed programs to be run under firejail is Thunderbird. Currently, due to this issue it is not working okay ......... |
Hi again. It seem that it is fixed at lest for Thunderbird !! Sorry for my previous comment, I gave it before testing .... No when I closed Thunderbird after launching it by "firejail thunderbird" I will receive at the end the following in the terminal: "Parent is shutting down, bye..." This is very good ! |
@Nokia808 I bet, in your case it closes fine because So, that's why I think, we're need a profile option like "kill-remains", which will kill all remainings and close the jail after main process exited. |
when agent services like gpg-agent or ssh-agent are started by firejailed applications, firejail will not close because those services will keep running
When gpg-agent is automatically firejailed by firecfg, it will break many things like apt-get update when it is used by install scripts
Is there a way to prevent this? Mabe tell services to close when the application that started them is stopped
The text was updated successfully, but these errors were encountered: