Public bug reported:

The AppArmor profile torbrowser.Browser.firefox prevents Tor Browser
from loading libstdc++.so.6 on Ubuntu 20.04. This results in Tor Browser
failing to start since 10.0 release with the following error being
printed on stdout:

./firefox.real: error while loading shared libraries: libstdc++.so.6:
failed to map segment from shared object

And the following message in the audit logs:

AVC apparmor="DENIED" operation="file_mmap" profile="torbrowser_firefox"
name="/home/<user>/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
US/Browser/TorBrowser/Tor/libstdc++/libstdc++.so.6" pid=3883
comm="firefox.real" requested_mask="m" denied_mask="m" fsuid=1000
ouid=1000

This patch from Debian fixes the issue: https://salsa.debian.org/pkg-
privacy-team/torbrowser-
launcher/-/commit/87859bce5779f89b37c4e4be334f7e1670b0a9f3

** Affects: torbrowser-launcher (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal

** Description changed:

  The AppArmor profile torbrowser.Browser.firefox prevents Tor Browser
- from loading libstdc++.so.6. This results in Tor Browser failing to
- start since 1.0 release with the following error being printed on
- stdout:
+ from loading libstdc++.so.6 on Ubuntu 20.04. This results in Tor Browser
+ failing to start since 10.0 release with the following error being
+ printed on stdout:
  
  ./firefox.real: error while loading shared libraries: libstdc++.so.6:
  failed to map segment from shared object
  
  And the following message in the audit logs:
  
  AVC apparmor="DENIED" operation="file_mmap" profile="torbrowser_firefox"
  name="/home/<user>/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
  US/Browser/TorBrowser/Tor/libstdc++/libstdc++.so.6" pid=3883
  comm="firefox.real" requested_mask="m" denied_mask="m" fsuid=1000
  ouid=1000
  
  This patch from Debian fixes the issue: https://salsa.debian.org/pkg-
  privacy-team/torbrowser-
  launcher/-/commit/87859bce5779f89b37c4e4be334f7e1670b0a9f3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897302

Title:
  Apparmor profile prevents Tor Browser from loading libstdc++.so.6
  since Tor Browser 10.0 was released

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/torbrowser-launcher/+bug/1897302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to