Public bug reported:

Binary package hint: apparmor

Using ubuntu 10.04, 
mozplugger 1.13.3-1-ubuntu1
appArmor 2.5-0ubuntu3
evince 2.30.3-0ubuntu1.1

expected to happen: open a pdf inside firefox
happened instead: evince fail to open with message file: access denied

Evince cannot open a embedded pdf file within firefox , because it cant read 
files from /dev/shm, firefox's save dir for pdf file.
Solution :
add a line: /dev/shm/** r,
to: /etc/apparmor.d/abstractions/evince

the same, with context:
  # move out to the gnome abstraction if anyone else needs these
  /dev/shm/** r,
  /dev/.udev/db/* r,

then reload apparmor:
sudo invoke-rc.d apparmor reload

annoying, because I need  to do it every apparmor update.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apparmor 2.5-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
ApparmorStatusOutput:
 Error: command /usr/sbin/apparmor_status failed with exit code 4: You do not 
have enough privilege to read the profile set.
 apparmor module is loaded.
Architecture: i386
Date: Thu Jul 22 14:23:18 2010
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apparmor

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


** Tags: apport-bug i386 lucid ubuntu-une

-- 
evince cant read  pdf from /dev/shm/
https://bugs.launchpad.net/bugs/608855
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to