containers / containers/bubblewrap
Should have an option to terminate sandbox when PID 2 dies
Open
enhancement
- Dominant language
- C
- Stars
- 8.7k
- Forks
- 386
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 11
Description
I saw that if a flatpak app somehow triggers another process to be spawned, when it quits, that spawned process can linger around.
That's bad, because if another app runs later, it may find the initial process and pick it up instead of spawning it again, except that the old process may be pointing to paths or state that don't exist anymore.
Discussing this with @matthiasclasen on IRC, we thought that bubblewrap should provide an option to terminate the sandbox also when the PID 2 dies, to prevent this from happening.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.