← Back to team overview

desktop-packages team mailing list archive

[Bug 844763] [NEW] Can't print DVIs from evince on Ubuntu 10.04 due to bad AppArmor configuration

 

Public bug reported:

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

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/844763

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

Status in “evince” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/844763/+subscriptions


Follow ups

References