I've got the same problem here. Bluetooth printing to HP Deskjet 995C was working fine earlier in the Gutsy release cycle but tonight I find it can't print and the reason appears to be related to the appamor configuration in /etc/appamor.d/usr.sbin.cupsd since disabling appamor (sudo /etc/init.d/appamor stop) allows the printing to go ahead.
/var/log/cups/error_log
E [15/Oct/2007:21:12:38 +0100] [Job 2] Can't open Bluetooth connection
E [15/Oct/2007:21:12:38 +0100] PID 8028 (/usr/lib/cups/backend/bluetooth) stopped with status 1!
E [15/Oct/2007:21:12:41 +0100] PID 8027 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [15/Oct/2007:21:13:58 +0100] PID 8077 (/usr/lib/cups/backend/bluetooth) stopped with status 1!
I've got the same problem here. Bluetooth printing to HP Deskjet 995C was working fine earlier in the Gutsy release cycle but tonight I find it can't print and the reason appears to be related to the appamor configuration in /etc/appamor. d/usr.sbin. cupsd since disabling appamor (sudo /etc/init.d/appamor stop) allows the printing to go ahead.
/var/log/syslog 8.736:4) : type=1503 operation= "socket_ create" family="bluetooth" sock_type= "seqpacket" protocol=0 pid=8028 profile= "/usr/sbin/ cupsd" 9.032:5) : type=1503 operation= "inode_ permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=8036 profile= "/usr/sbin/ cupsd" 9.060:6) : type=1503 operation= "inode_ permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=8039 profile= "/usr/sbin/ cupsd"
Oct 15 21:12:38 hephaestion kernel: [ 9906.153900] audit(119247915
Oct 15 21:12:39 hephaestion kernel: [ 9906.453894] audit(119247915
Oct 15 21:12:39 hephaestion kernel: [ 9906.474310] audit(119247915
/var/log/ cups/error_ log 2007:21: 12:38 +0100] [Job 2] Can't open Bluetooth connection 2007:21: 12:38 +0100] PID 8028 (/usr/lib/ cups/backend/ bluetooth) stopped with status 1! 2007:21: 12:41 +0100] PID 8027 (/usr/lib/ cups/filter/ foomatic- rip) stopped with status 9! 2007:21: 13:58 +0100] PID 8077 (/usr/lib/ cups/backend/ bluetooth) stopped with status 1!
E [15/Oct/
E [15/Oct/
E [15/Oct/
E [15/Oct/
/var/log/ cups/access_ log 2007:21: 12:38 +0100] "POST /printers/ Deskjet995C HTTP/1.1" 200 165041 Print-Job successful-ok 2007:21: 12:38 +0100] "POST / HTTP/1.1" 200 176 Get-Jobs successful-ok 2007:21: 12:38 +0100] "POST / HTTP/1.1" 200 176 Get-Jobs successful-ok
localhost - - [15/Oct/
localhost - - [15/Oct/
localhost - - [15/Oct/