forked from agalakhov/captdriver
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels