← Back to team overview

desktop-packages team mailing list archive

[Bug 846639] Re: Evince fail to run mktexpk while openning a dvi file

 

The following apparmor denials were found in the kern.log:
Sep 10 17:41:58 varzea kernel: [21712.385345] type=1400 audit(1315687318.262:427): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktexpk" pid=15297 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.390202] type=1400 audit(1315687318.266:428): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktexpk" pid=15298 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.393863] type=1400 audit(1315687318.270:429): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mkofm" pid=15299 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.395712] type=1400 audit(1315687318.270:430): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktextfm" pid=15300 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.398711] type=1400 audit(1315687318.274:431): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mkofm" pid=15301 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.400605] type=1400 audit(1315687318.278:432): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktextfm" pid=15302 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.433072] type=1400 audit(1315687318.310:433): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktexpk" pid=15303 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
Sep 10 17:41:58 varzea kernel: [21712.437811] type=1400 audit(1315687318.314:434): apparmor="DENIED" operation="exec" parent=15296 profile="/usr/bin/evince" name="/usr/local/texlive/bin/i386-linux/mktexpk" pid=15304 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000

It seems you are using a non-standard texlive. If so, you can update
your /etc/apparmor.d/local/usr.bin.evince file to contain entries
allowing access to these files. You can also put the profile into
complain mode until you can refine the profile for your needs using
'sudo aa-complain /etc/apparmor.d/usr.bin.evince'. See
https://wiki.ubuntu.com/DebuggingAppArmor for details.

** Changed in: evince (Ubuntu)
       Status: Confirmed => Incomplete

** Changed in: evince (Ubuntu)
     Assignee: (unassigned) => Jamie Strandboge (jdstrand)

-- 
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/846639

Title:
  Evince fail to run mktexpk while openning a dvi file

Status in “evince” package in Ubuntu:
  Incomplete

Bug description:
  After the upgrade to Oneiric, Evince fail to run mktexpk when opening a dvi file.
  The stdout shows:

  $ evince /usr/local/texlive/texmf-dist/doc/latex/polyglot/sample.dvi
  (evince:15287): GLib-GObject-WARNING **: g_object_set_valist: construct property "enable-gestures" for object `EvView' can't be set after construction

  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmsl10
  mktexpk: Permissão negada
  kpathsea: Appending font creation commands to missfont.log.
  page: Warning: font `cmsl10' at 600x600 not found, trying `cmr10' instead

  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
  mktexpk: Permissão negada
  page: Warning: font `cmsl10' not found, trying metric files instead

  kpathsea: Running mkofm cmsl10
  mkofm: Permissão negada

  kpathsea: Running mktextfm cmsl10
  mktextfm: Permissão negada
  page: Warning: metric file for `cmsl10' not found, trying `cmr10' instead

  kpathsea: Running mkofm cmr10
  mkofm: Permissão negada

  kpathsea: Running mktextfm cmr10
  mktextfm: Permissão negada
  page: Error: could not load font `cmsl10'

  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmsl10
  mktexpk: Permissão negada
  kpathsea: Appending font creation commands to missfont.log.
  page: Warning: font `cmsl10' at 600x600 not found, trying `cmr10' instead

  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
  mktexpk: Permissão negada
  page: Warning: font `cmsl10' not found, trying metric files instead

  kpathsea: Running mkofm cmsl10
  mkofm: Permissão negada

  kpathsea: Running mktextfm cmsl10
  mktextfm: Permissão negada
  page: Warning: metric file for `cmsl10' not found, trying `cmr10' instead

  kpathsea: Running mkofm cmr10
  mkofm: Permissão negada

  kpathsea: Running mktextfm cmr10
  mktextfm: Permissão negada
  page: Error: could not load font `cmsl10'

  I have a local texlive 2011 installation (I'm not using texlive from Ubuntu). But if I run manually, for instance,
  $mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
  mktexpk works fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: evince 3.1.90.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: i386
  Date: Sat Sep 10 17:45:17 2011
  ExecutablePath: /usr/bin/evince
  SourcePackage: evince
  UpgradeStatus: Upgraded to oneiric on 2011-09-07 (3 days ago)

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


References