Firefox apparmor profile: /usr/bin/python3: error while loading shared libraries: cannot apply additional memory protection after relocation: Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
When I start Firefox, even when run as root, I get an error message:
/usr/bin/python3: error while loading shared libraries: cannot apply additional memory protection after relocation: Permission denied
As a result, Firefox only shows white or black content in browser tab (which is basically rendered empty).
I can work around this issue with a
cd /etc/apparmor.
ln -s ./../usr.
apt-get install --reinstall --purge apparmor libapparmor-perl libapparmor1
After that, content is rendered again.
I had this problem earlier (https:/
Now that it seems to be an apparmor profile issue, I think that can be fixed in a nice manner. And it also should see some priority. Therefore, I think it makes sense to have a clean new ticket for this.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: firefox 51.0.1+
ProcVersionSign
Uname: Linux 4.4.0-59-generic x86_64
AddonCompatChec
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
BuildID: 20170125172221
Channel: Unavailable
CurrentDesktop: GNOME-Flashback
Date: Sat Jan 28 01:16:25 2017
Extensions: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
IncompatibleExt
InstallationDate: Installed on 2014-11-29 (790 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Locales: extensions.sqlite corrupt or missing
PrefSources: prefs.js
Profiles: Profile0 (Default) - LastVersion=
RunningIncompat
SourcePackage: firefox
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: Upgraded to xenial on 2016-06-15 (226 days ago)
dmi.bios.date: 12/06/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 023HKR
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude E5510
dmi.product.
dmi.sys.vendor: Dell Inc.
Changed in firefox (Ubuntu): | |
importance: | Undecided → High |
The following patch mitigates the error message, but it's only a partial fix for the issue (which is white tabs). Note that I had python 3.5 installed whereas the apparmor profile only supported 3.0-3.4.
So there's something else to do, and it also seems to be related to apparmor (because when disabling the profile tabs are rendered correctly).