Skip to content

Apparmor prevents the driver from working on Debian 13 #50

Description

@mpeter50

After completing the installation procedure in the wiki, the printer does yet work. When attempting to print, among other printing related debug messages, this appears in the system journal:

Feb 24 22:26:48 vbox kernel: audit: type=1400 audit(1771968408.877:153): apparmor="DENIED" operation="exec" class="file" profile="/usr/sbin/cupsd" name="/usr/local/bin/rastertocapt" pid=4314 comm="cups-exec" requested_mask="x" denied_mask="x" fsuid=7 ouid=0

I have found a workaround for this in the ancient ubuntu capt driver documentation: https://help.ubuntu.com/community/CanonCaptDrv190
You need to set Apparmor to complain mode for cups:

sudo aa-complain /usr/sbin/cupsd

For aa-complain the apparmor-utils package needs to be installed.
But after this, printing works. For a short time after poweing on the printer. But thats for another issue.

I dont know yet if this persists across reboots, but the proper solution is to extend the apparmor profile for cupsd to allow executing the capt filter binary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions