Unable to search in Evince in PDFs opened from Firefox with Firefox AppArmor profile enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 16.04.2 LTS with Unity
Firefox 51.0.1+
Evince 3.18.2-1ubuntu4
AppArmor/
Steps to reproduce:
1) Enable AppArmor: service apparmor start
2) Enable Firefox AppArmor profile: aa-enforce /etc/apparmor.
3) Reload AppArmor: service apparmor reload
4) Browse to https:/
5) Select "Open with: Document Viewer"
6) Type ctrl-F "Ubuntu"
Expected behavior:
"Ubuntu" appears in the search box at the top and is highlighted in the document.
Observed behavior:
The search box stays empty and nothing is highlighted in the document.
Workarounds:
* Select "Save File" instead of "Open with" and then open the file outside of Firefox with Nautilus, terminal etc
or
* Disable the Firefox AppArmor profile with "aa-disable /etc/apparmor.
You may need to restart Firefox and/or Evince after toggling Firefox's AppArmor profile for the changes to take effect.
Hello, thanks for the bug report. Funny, I'd noticed similar with gvim
started via pentadactyl but never noticed AppArmor DENIED messages. Go
figure..
Try adding this line to your /etc/apparmor. d/abstractions/ ubuntu- helpers
file, reload the profile and firefox, and please report back if there
are still more issues remaining or not.
unix (send, receive, connect) peer=(addr= "@/tmp/ ibus/dbus- ??????? ?", label=unconfined),
Thanks