Can't print DVIs from evince on Ubuntu 10.04 due to bad AppArmor configuration

Bug #844763 reported by Steven Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Trying to print any DVI from evince fails. From the GUI, it looks like it succeeds, albeit somewhat more quickly than normal, but on the console I get this message:

** (evince:21642): WARNING **: Error: Failed to execute child process "dvipdfm" (Permission denied)

On this machine, dvipdfm is just a symlink to dvipdfmx, but the apparmor configuration only whitelists dvipdfm itself, and therefore blocks the exec. Whitelisting dvipdfmx in /etc/apparmor.d/abstractions/evince made the error go away, and made printing succeed. You might want to do so in the distribution-supplied configuration file.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.3-0ubuntu1.2
ProcVersionSignature: Ubuntu 2.6.32-32.62-generic 2.6.32.38+drm33.16
Uname: Linux 2.6.32-32-generic x86_64
Architecture: amd64
Date: Thu Sep 8 13:33:05 2011
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
mtime.conffile..etc.apparmor.d.abstractions.evince: 2011-09-08T13:31:10

Revision history for this message
Steven Smith (sos22-lp) wrote :
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 570955, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Changed in evince (Ubuntu):
status: New → Confirmed
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.