firefox profile fails to load when java abstraction is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge |
Bug Description
Apparmor fails with the following after the latest upgrade on Precise:
apparmor (2.7.99-0ubuntu2) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/apparmor.
Neue Version der Konfigurationsdatei /etc/apparmor.
Neue Version der Konfigurationsdatei /etc/apparmor.
* Starting AppArmor profiles Skipping profile in /etc/apparmor.
profile has merged rule with conflicting x modifiers
ERROR processing regexs for profile /usr/lib/
invoke-rc.d: initscript apparmor, action "start" failed.
* Reloading AppArmor profiles Skipping profile in /etc/apparmor.
profile has merged rule with conflicting x modifiers
ERROR processing regexs for profile /usr/lib/
invoke-rc.d: initscript apparmor, action "reload" failed.
Related branches
Changed in apparmor (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
milestone: | none → ubuntu-12.04-beta-2 |
status: | Triaged → In Progress |
summary: |
- apparmor 2.7.99-0ubuntu2 fails after latest upgrade + firefox profile fails to load when default-jre-headless is installed |
If default- jre-headless is installed, the following line in /etc/apparmor. d/abstractions/ ubuntu- browsers. d/java causes the parser to fail: jvm/java- 6-openjdk* /jre/bin/ java cx -> browser_openjdk,
/usr/lib/
Changing this to allows it to succeed: jvm/java- 6-openjdk/ jre/bin/ java cx -> browser_openjdk, jvm/java- 6-openjdk- {amd64, armel,armhf, i386,powerpc} /jre/bin/ java cx -> browser_openjdk,
/usr/lib/
/usr/lib/
Interestingly, using: jvm/java- 6-openjdk/ jre/bin/ java cx -> browser_openjdk, jvm/java- 6-openjdk- */jre/bin/ java cx -> browser_openjdk,
/usr/lib/
/usr/lib/
also fails, which is curious as the directories with default- jre-headless installed are: 6.0-openjdk- amd64 openjdk- amd64 openjdk- common openjdk- amd64
$ ls -1 /usr/lib/jvm/
default-java
java-1.6.0-openjdk
java-1.
java-6-openjdk
java-6-
java-6-
java-7-
But without are: 6.0-openjdk- amd64 openjdk- amd64 openjdk- common openjdk- amd64
$ ls -1 /usr/lib/jvm/
java-1.
java-6-
java-6-
java-7-
/usr/lib/ jvm/java- 6-openjdk- */ should work out to the same directories as /usr/lib/ jvm/java- 6-openjdk- {amd64, armel,armhf, common, i386,powerpc} /, but the parser doesn't like it.