This bug or something very similar has just bitten me out of the blue
with a Hewlett-Packard LaserJet III on Gutsy.

Before today the printer was working fine with the foomatic
(recommended) driver. About an hour ago I tried to print and it failed
with the identical apparmor messages in the log: droitwix kernel:
[stamp] audit(stamp): type=1502 operation="inode_permission"
requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=foo
profile="/usr/sbin/cupsd"

Since I last tried to print - which was a few days ago - there has been
an update including various CUPS packages, and a "PDF file generator"
virtual printer has appeared out of nowhere :-) in the CUPS printers
listing.

I deleted that and the HPLJ3, leaving me with no printers, restarted
CUPS, and recreated the entry for the HPLJ3, but it made no difference.

Disabling apparmor with sudo aa-complain cups made no difference either,
it still didn't work. Removing /etc/apparmor.d/usr.sbin.cupsd entirely
and restarting apparmor got rid of the error messages in the log but I
still couldn't print, now it just failed silently.

What did get it working was to reconfigure the printer to use the
gutenprint driver instead of foomatic. Now it works fine with no error
messages (and apparmor back to enforce mode), but it is a LOT slower
(the box is a 450MHz PII with 320MB RAM and usually uses 200MB-300MB of
swap, so perhaps more modern machinery would not notice, but in general
ubuntu runs remarkably well despite the slowness of the box; with the
foomatic driver, when that was working, printing was acceptably quick,
but now that I have to use gutenprint it groans, and other applications
become unresponsive for significant/annoying pauses while it prints).

cupsys on this box is now at 1.3.2-1ubuntu7.3 - is it possible that the
update that fixes the above bug has broken something else?

-- 
Cannot print on Gutsy Gibbon with HP DeskJet 720C
https://bugs.launchpad.net/bugs/155530
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to