Evince is not allowed to use exo-open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
evince (Ubuntu) |
Fix Released
|
Low
|
Jamie Strandboge | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Applications aren't able to use exo-open in Xubuntu with apparmor profiles enabled.
Test case (apparmor):
sudo aa-enforce /etc/apparmor.
Launch firefox
Download a file in Firefox
Tools -> Downloads
Right Click and open the downloaded file, should fail with the old version and open with the new
Test case (evince):
Open PDF with a link in it under Xubuntu
Click the link
Should fail with the current versions of evince/apparmor and work with the new versions
-------
Regression potential:
minimal as this should just enable exo usage with apparmor profiles
-------
Using a fresh install of Xubuntu 12.04 beta, I can not open links from within evince.
A red bar appears on top and says :
"Unable to open external link"
"Failed to execute child process "exo-open" (Permission denied)"
I suppose this is due to a bad configuration of AppArmor.
ProblemType: BugDistroRelease: Ubuntu 12.04
Package: evince 3.4.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Tue Apr 24 02:40:31 2012
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
KernLog:
Apr 24 02:22:50 box kernel: [349882.938280] type=1400 audit(133522697
Apr 24 02:23:01 box kernel: [349894.110102] type=1400 audit(133522698
Apr 24 02:29:40 box kernel: [350293.526127] type=1400 audit(133522738
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | evince (Ubuntu) → apparmor (Ubuntu) |
affects: | apparmor (Ubuntu) → evince (Ubuntu) |
Changed in apparmor (Ubuntu): | |
status: | Triaged → In Progress |
Changed in evince (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Triaged → In Progress |
Changed in evince (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Micah Gersten (micahg) |
milestone: | none → ubuntu-12.04.2 |
Changed in apparmor (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.2 |
status: | New → In Progress |
description: | updated |
Changed in apparmor (Ubuntu Precise): | |
assignee: | nobody → Micah Gersten (micahg) |
description: | updated |
description: | updated |
Changed in apparmor (Ubuntu Precise): | |
assignee: | Micah Gersten (micahg) → nobody |
Changed in evince (Ubuntu Precise): | |
assignee: | Micah Gersten (micahg) → nobody |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Thank you for using Ubuntu and filing a bug. Can you add the following to /etc/apparmor. d/local/ usr.bin. evince:
/usr/bin/exo-open ixr,
Then do: d/usr.bin. evince
sudo apparmor_parser -r /etc/apparmor.
and report back if this fixes the issue for you?