Evince unable to start mail reader (apparmor-related)

Bug #423236 reported by none
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Medium
Jamie Strandboge

Bug Description

Binary package hint: evince

I use Claws Mail as my mail reader. When I click on a "mailto:" link in a pdf document, Evince pops up a yellow bar saying "Unable to start process claws-mail: permission denied".

If I do "sudo /etc/init.d/apparmor stop", then Evince *can* start Claws Mail and everything works as expected. I guess something needs to be changed in the AppArmor profile for evince.

ProblemType: Bug
Architecture: amd64
Date: Wed Sep 2 12:18:59 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl nvidia
Package: evince 2.27.90-0ubuntu7
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SourcePackage: evince
Uname: Linux 2.6.31-9-generic x86_64

Related branches

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :
Changed in evince (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Johan,

Can you add the following to /etc/apparmor.d/abstractions/evince:
  /usr/bin/claws Ux,

and then do:
$ sudo apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.evince

then try again?

Changed in evince (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Incomplete
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

Yes, that works (with the small change that the binary is actually /usr/bin/claws-mail).

Thank you!

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks. I'll upload this after the archive is unfrozen.

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

This bug was fixed in the package evince - 2.27.90-0ubuntu8

---------------
evince (2.27.90-0ubuntu8) karmic; urgency=low

  [ Sebastien Bacher ]
  * debian/evince.postinst:
    - let the packaging tools add their snippets so the schemas are registered
      (lp: #422777)

  [ Jamie Strandboge ]
  * debian/apparmor-profile.abstraction: allow the claws email client
    (LP: #423236)
  * debian/postrm: cleanup apport .pyc file
  * debian/apparmor-profile: allow evince to transition to itself, so print
    preview works (LP: #423687)
  * debian/apparmor-profile.abstraction: use new ubuntu-* abstractions for
    email clients and web browsers
  * debian/control*: adjust Suggests to unversioned and Conflicts with apparmor
    << 2.3.1+1403-0ubuntu18 for the ubuntu-* abstractions change

 -- Jamie Strandboge <email address hidden> Thu, 03 Sep 2009 10:01:50 -0500

Changed in evince (Ubuntu):
status: Fix Committed → Fix Released
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.