I reverted the "/etc/udev/rules.d/40-permissions.rules" file back to:

# Printers and Parallel devices
SUBSYSTEM=="printer", GROUP="lp"
SUBSYSTEM=="ppdev", GROUP="lp"
SUBSYSTEM=="usb", KERNEL=="lp[0-9]*", GROUP="lp"

Afterwards, I was not able to print a test page and received the same
error as before in the CUPS web configuration tool:

"Unable to open device file "/dev/lp0": Permission denied"

I then ran the command above:

[EMAIL PROTECTED]:~$ sudo aa-complain cupsd
[sudo] password for jschindler:
Setting /etc/apparmor.d/usr.sbin.cupsd to complain mode.

In complain mode, I'm still unable to print a test page.

[EMAIL PROTECTED]:~$ cat /var/log/syslog | grep "audit"
Jun  3 08:10:49 centime kernel: [   29.995251] audit: initializing netlink 
socket (disabled)
Jun  3 08:10:49 centime kernel: [   29.995267] audit(1212498624.236:1): 
initialized
Jun  3 08:10:52 centime kernel: [   57.754790] audit(1212498652.982:2): 
type=1502 operation="inode_permission" requested_mask="a::" denied_mask="a::" 
name="/dev/tty" pid=5127 profile="/usr/sbin/cupsd" namespace="default"

If you need additional information from me, please let me know.

-- 
Unable to print to parallel port
https://bugs.launchpad.net/bugs/235670
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