[Pkg-anonymity-tools] Bug#766277: Broken AppArmor profiles

u u at 451f.org
Tue Oct 21 21:36:20 UTC 2014


Package: torbrowser-launcher
Version: 0.1.5
Severity: major

Unfortunately with the release of TBB 4.0 I have a lot of issues on Wheezy.

Now, with apparmor enabled, i get

➜  torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.1.5
https://github.com/micahflee/torbrowser-launcher
Initializing Tor Browser Launcher
Successfully loaded mirrors from /usr/share/torbrowser-launcher/mirrors.txt
[Erinn's key verification]
Starting launcher dialog
LATEST VERSION 4.0
Checked for update within 24 hours, skipping
Latest version of TBB is installed, launching
Launching Tor Browser for Linux in
/home/xxx/.local/share/torbrowser/tbb/x86_64/tor-browser_us/Browser...
XPCOMGlueLoad error for file
/home/xxx/.local/share/torbrowser/tbb/x86_64/tor-browser_us/Browser/libxul.so:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not
found (required by
/home/xxx/.local/share/torbrowser/tbb/x86_64/tor-browser_us/Browser/libxul.so)
Couldn't load XPCOM.
Tor Browser exited abnormally.  Exit code: 255

➜  result  sudo aa-disable /etc/apparmor.d/torbrowser.*
Disabling /etc/apparmor.d/torbrowser.Browser.firefox
Disabling /etc/apparmor.d/torbrowser.start-tor-browser
Disabling /etc/apparmor.d/torbrowser.Tor.tor to enforce

Still, torbrowser-launcher does not run.

➜  torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.1.5
https://github.com/micahflee/torbrowser-launcher
Initializing Tor Browser Launcher
Successfully loaded mirrors from /usr/share/torbrowser-launcher/mirrors.txt
[Erinn's key verification]
Starting launcher dialog
LATEST VERSION 4.0
Checked for update within 24 hours, skipping
Latest version of TBB is installed, launching
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File
"/usr/lib/python2.7/dist-packages/torbrowser_launcher/__init__.py", line
59, in main
    app = Launcher(common)
  File
"/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line
117, in __init__
    self.start_launcher()
  File
"/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line
151, in start_launcher
    self.run(False)
  File
"/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line
633, in run
    subprocess.call([self.common.paths['tbb']['start']])
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] Not found


When i disable the tbl profile itself, tbl finally runs, unconfined.

sudo aa-disable /etc/apparmor.d/usr.bin.torbrowser-launcher



Note that this affects version 0.1.4-2, 0.1.5-2 and 0.1.6 which i just
built locally.

On Jessie, 0.1.5-2 does works correctly (will retest and confirm).



More information about the Pkg-anonymity-tools mailing list