AppArmor is denying access permission to the Lexmark print driver, to
fix this we need to update the apparmor profile that is used to confine
cups.

Janos, can you perform the following test. Please add the following rule
to the /etc/apparmor.d/usr.sbin.cupsd file (this will require admin
permissions so use sudo).

    /usr/local/lexmark/08zero/bin/printdriver rix,

I would do it so that it is next to the
   /usr/local/lib/cups/** rix,

rule, so that the file looks like
    ...
    /usr/local/lib/cups/** rix,
    /usr/local/lexmark/08zero/bin/printdriver rix,
    /usr/share/** r,
    ...

after this you may do either of the following
  from the cmdline reload the apparmor profile and restart cups
    sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.cupsd
    sudo restart cups

or
   reboot your computer this will reload apparmor policy and restart cups


Adding this rule may not grant enough permissions to get the Lexmark printer to 
work. If it fails check dmesg and apparmor will log a new message for any new 
denials it is causing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187970

Title:
  apparmor prevents custom printer driver from executing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1187970/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to