Comment 0 for bug 1897302

Revision history for this message
AsciiWolf (asciiwolf) wrote : Apparmor profile prevents Tor Browser from loading libstdc++.so.6 since Tor Browser 10.0 was released

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:

./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