This ticket is to track the eventual inclusion for a Firejail aware start-tor-browser script in TBB releases - it attempts to run TBB in Firejail if detected on the system. Firejail is a popular and well maintained software containment system available in Debian.
(Yawning is very busy these days and won't be able to work on it. Thanks Yawning for writing it in the first place!)
Since a Tor Browser planned changes is to release versions that can take advantage of system containment features - this work complements it IMHO.
Just the script changes is insufficient and will probably misbehave if the firejail profile isn't in the bundle directory.
The way I setup the profile along with other things probably breaks things, for example, I was rather restrictive about which filesystem paths are allowed, which will at a minimum confuse users.
FOR MY USECASES this works great, and I've been using it in various forms since I first bothered to set up the thing, but I didn't test anything, and I'm do not want to fix random things that break for other people, and will probably ignore most cries for help.
If those caveats are ok, then do what you want, I don't care.
The diff looks reasonable. Should be safe for with non-firejail users.
What about users that have firejail installed but only configured for a particular application which is not Tor Browser? Or maybe they just have firejail on their computer for some reason without doing any sandboxing at the moment at all.
And what would it buy our users just having the script differences merged without Tor Browser coming with a usable profile?