Printing is not working :

[ 1083.698228] type=1400 audit(1286355433.787:20): apparmor="DENIED"
operation="open" parent=27112 profile="/usr/sbin/cupsd"
name="/usr/local/lib/cups/filter/rastertoptch" pid=27114 comm="bash"
requested_mask="r" denied_mask="r" fsuid=7 ouid=0

Then I do 
sudo aa-complain cupsd:

[ 1866.536089] type=1400 audit(1286356216.627:21): apparmor="STATUS" 
operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=11166 
comm="apparmor_parser"
[ 1866.536186] type=1400 audit(1286356216.627:22): apparmor="STATUS" 
operation="profile_replace" name="/usr/sbin/cupsd" pid=11166 
comm="apparmor_parser"

And printing is working.

[ 2113.893284] type=1400 audit(1286356463.987:23): apparmor="ALLOWED"
operation="exec" parent=16418 profile="/usr/sbin/cupsd"
name="/usr/local/lib/cups/filter/rastertoptch" pid=16420 comm="bash"
requested_mask="x" denied_mask="x" fsuid=7 ouid=0
target="/usr/sbin/cupsd//null-c"


ls -al /usr/bin/rastertoptch 
lrwxrwxrwx 1 root root 39 2010-03-04 10:47 /usr/bin/rastertoptch -> 
/usr/local/lib/cups/filter/rastertoptch


kern.log is attached

(tested on Maverick)

** Attachment added: "kern.log.gz"
   
https://bugs.edge.launchpad.net/ubuntu/+source/cups/+bug/160092/+attachment/1674764/+files/kern.log.gz

** Changed in: cups (Ubuntu)
       Status: Invalid => New

-- 
apparmor rules break filters in /usr/local
https://bugs.launchpad.net/bugs/160092
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to