Java applets won't run in Firefox with Apparmor profile activated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
After activating firefox profile, be it in complain or enforce mode, no applet will run with OpenJDK.
The culprit seems to be:
apparmor="DENIED" operation="open" profile=
The rules that prevent the applets to run belong to Apparmor abstractions, specifically /etc/apparmor.
These rules will be enforced, even when usr.in.firefox is in complain mode (I don't know why exactly)
Adding write access to the line
owner /run/user/
in /etc/apparmor.
seems to solve the problem.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: apparmor-profiles 2.8.98-0ubuntu2
ProcVersionSign
Uname: Linux 3.16.0-
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 27 11:05:20 2015
InstallationDate: Installed on 2014-12-13 (75 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitec
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Syslog: Feb 27 09:42:45 franck-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
mtime.conffile.
mtime.conffile.
description: | updated |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Low |
The rule is enforced when the firefox profile is in complain mode because /usr/lib/ firefox/ firefox{ ,[^s][^ h]}//browser_ openjdk is a separate profile from /usr/lib/ firefox/ firefox{ ,[^s][^ h]} and has its own flags/modes. The tools have a bug where they are not changing the subprofiles modes, only the main profile.