← Back to team overview

desktop-packages team mailing list archive

[Bug 934291] Re: Deleting or stopping print jobs does not work

 

I've been investigating this issue recently and can confirm that, while
this is not an issue in my Fedora machine with the very same version of
cups, cups-pk-helper and gnome-control-center installed, it is still
present in Ubuntu, due to what I believe it might be a bug in the way
CUPS is being packaged by debian (thus Ubuntu would have inherited the
bug). Thus it's probably a bug in Debian as well.

Long story short, while Fedora configures "root" to be part of CUPS
system administration group, Debian/Ubuntu does not do that and instead
defines "lpadmin" as the only member of that group. Now, because gnome-
control-center actually relies in cups-pk-helper to cancel jobs, CUPS
won't allow doing that in ubuntu because neither the owner of the job
(cups-pk-helper runs as root, not as the username originating the cancel
request from g-c-c) nor an user belonging to SystemGroup is requesting
such an operation. As a result, the operation is not cancelled.

You can see a more detailed explanation here:
https://bugzilla.gnome.org/show_bug.cgi?id=669679#c23

I fixed this locally by changing the debian/rules so that I pass
"--with-system-groups='lpadmin root'" to dh_auto_configure, instead of
simply passing 'lpadmin' and that works for me. I think it's worth
reporting this to debian, but it's unclear to me how to do so, so I
thought I would report it here for now, in case someone could lend a
hand with it.

Thoughts?

PS: A temporary fix for users facing this problem, better than setting
JobsPrivateValues to 'none', would be to simply edit /etc/cups/cups-
files.conf and manually add 'root' to SystemGroup

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

Title:
  Deleting or stopping print jobs does not work

Status in GNOME Control Center:
  Incomplete
Status in gnome-control-center package in Ubuntu:
  Incomplete

Bug description:
  Deleting or stopping print jobs through the "gnome-control-center -> printers" menu is not possible.
  (Black rectangle for stopping can be pressed, nothing happens.)

  Deleting with cups via webinterface does work. ( http://localhost:631/
  )

  Please let me know which information to provide.

  Cheers

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gnome-control-center 1:3.2.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Fri Feb 17 16:47:32 2012
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to oneiric on 2011-12-17 (61 days ago)
  usr_lib_gnome-control-center:
   deja-dup           22.0~bzr1290.37~oneiric1
   gnome-bluetooth    3.2.0-0ubuntu2
   indicator-datetime 0.3.1-0ubuntu1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/934291/+subscriptions