evince-thunbnailer gets permission denied from apparmor

Bug #1031471 reported by Claude Durocher
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When using preview mode in Nautilus (Ubuntu 12.04 LTS), I get the following errors when pdf files are located in the displayed directory (the directory is local to the workstation) :

[17305.826366] type=1400 audit(1343755465.606:29): apparmor="DENIED" operation="open" parent=8701 profile="/usr/bin/evince-thumbnailer" name="/etc/default/nss" pid=8702 comm="evince-thumbnai" requested_mask="r" denied_mask="r" fsuid=727718694 ouid=0

This can be fixed by editing /etc/apparmor.d/usr.bin.evince and adding this line in the "/usr/bin/evince-thumbnailer" section:
  /etc/default/nss r,

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

apt-cache policy evince
evince:
  Installé : 3.4.0-0ubuntu1.3
  Candidat : 3.4.0-0ubuntu1.3
 Table de version :
 *** 3.4.0-0ubuntu1.3 0
        500 http://umirroir/mirroir/mirror/archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     3.4.0-0ubuntu1 0
        500 http://umirroir/mirroir/mirror/archive.ubuntu.com/ubuntu/ precise/main i386 Packages

What is expected : no errors when a pdf file is previewed

What happens : preview is displayed but error message are filed in logs

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evince (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

I no longer get this in 16.04 (Dev). Has this been fixed?

Changed in evince (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for evince (Ubuntu) because there has been no activity for 60 days.]

Changed in evince (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.