Control: tags 1129212 patch

It seems the bug occurs because /usr/lib/cups/backend/usb attempts to read
the root directory (/), and that is denied by apparmor. While I have not
investigated why the USB backend does this, I suggest simply allowing it.
It's a pretty harmless operation.

The attached patch fixes the bug for me.
diff --git a/debian/local/apparmor-profile b/debian/local/apparmor-profile
index 947cbd8..fb7e03e 100644
--- a/debian/local/apparmor-profile
+++ b/debian/local/apparmor-profile
@@ -52,6 +52,7 @@
   # notification socket
   /run/systemd/notify w,
 
+  / r,
   /{usr/,}bin/bash ixr,
   /{usr/,}bin/dash ixr,
   /{usr/,}bin/hostname ixr,

Reply via email to