Public bug reported:

When using OpenNX client with FreeNX server, printing support via cups
is prevented by apparmor settings that prevent access to
$HOME/.nx/*/cupsd.

Modifying the apparmor configuration settings for cupsd resolves the
problem:

--- /etc/apparmor.d/usr.sbin.cupsd-orig    2013-09-27 11:29:52.000000000 -0400
+++ /etc/apparmor.d/usr.sbin.cupsd    2013-09-27 11:19:48.000000000 -0400
@@ -127,6 +127,10 @@
   # likewise authentication
   /etc/likewise r,
   /etc/likewise/* r,
+
+  # nx-launched cupsd
+  @{HOME}/.nx/C-ip*/cups/ rw,
+  @{HOME}/.nx/C-ip*/cups/** rwckl,
 }

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1233766

Title:
  NX printing fails because cupsd is denied access to $HOME/.nx/*/cups
  by apparmor

Status in “cups” package in Ubuntu:
  New

Bug description:
  When using OpenNX client with FreeNX server, printing support via cups
  is prevented by apparmor settings that prevent access to
  $HOME/.nx/*/cupsd.

  Modifying the apparmor configuration settings for cupsd resolves the
  problem:

  --- /etc/apparmor.d/usr.sbin.cupsd-orig    2013-09-27 11:29:52.000000000 -0400
  +++ /etc/apparmor.d/usr.sbin.cupsd    2013-09-27 11:19:48.000000000 -0400
  @@ -127,6 +127,10 @@
     # likewise authentication
     /etc/likewise r,
     /etc/likewise/* r,
  +
  +  # nx-launched cupsd
  +  @{HOME}/.nx/C-ip*/cups/ rw,
  +  @{HOME}/.nx/C-ip*/cups/** rwckl,
   }

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to