[Pkg-privacy-maintainers] Bug#876484: torbrowser-launcher: stuck in "Tor exited during startup" loop with AppArmor

intrigeri intrigeri at debian.org
Sun Sep 24 05:31:49 UTC 2017


Control: user pkg-apparmor-team at lists.alioth.debian.org
Contol: usertag -1 + help-needed

Hi Chris!

Chris Lamb:
> Ah, this is due to apparmor:

> Sep 22 18:41:57 keyboardcat.chris-lamb.co.uk kernel: audit: type=1400
> audit(1506102117.020:467): apparmor="DENIED" operation="chmod"
> profile="/home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Tor/tor"
> name="/home/lamby/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Tor/"
> pid=3338 comm="tor" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

Well spotted, thanks!

If you can ever reproduce the problem, please:

1. Edit /etc/apparmor.d/torbrowser.Tor.tor and replace:

     owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Tor/ r,

   with:

     owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/{Browser/TorBrowser/,}Data/Tor/ rw,

2. sudo apparmor_parser -r /etc/apparmor.d/torbrowser.Tor.tor

3. Restart Tor Browser.

But I guess that this bug won't come back now that you've cleared
.local/share/torbrowser, so I'll go ahead and submit this
change upstream.

Cheers!



More information about the Pkg-privacy-maintainers mailing list