Comment 9 for bug 160092

Revision history for this message
Jonathan Ernst (jonathan.ernst) wrote :

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)