man lpstat: wrong information about running without arguments

Bug #728350 reported by Alvin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: cups

man lpstat says:
DESCRIPTION ..."When run with no arguments, lpstat will list jobs queued by the current user."

Yet, when run without arguments lpstat will show jobs queued by all users. Either lpstat doesn't do what it's supposed to do or the manual is wrong.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cups-client 1.4.3-1ubuntu1.3
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic-pae 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic-pae i686
Architecture: i386
CupsErrorLog:

Date: Thu Mar 3 11:37:08 2011
Lpstat:
 device for iR5000i-Z: lpd://zfs-front/iR5000i-Z
 device for pdf-wkb: lpd://zfs-front/pdf-wkb
 device for Q2-Z: lpd://zfs-front/Q2-Z
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
Papersize: a4
PpdFiles:
 iR5000i-Z: Canon iPR Server Q2 V2.0 (US)
 Q2-Z: Canon iPR Server Q2 V2.0 (US)
 pdf-wkb: Acrobat Distiller 3011.104
ProcCmdLine: root=/dev/mapper/vg0-root ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/tcsh
SourcePackage: cups
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

Revision history for this message
Alvin (alvind) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This is a problem of the upstream CUPS package. Please report it here:

http://www.cups.org/str.php

Changed in cups (Ubuntu):
status: New → Triaged
importance: Undecided → Low
tags: added: needs-upstream-report
Revision history for this message
Ketil Malde (ketil-ii) wrote :

Unfortunately, the CUPS developers - if there indeed are any - do not give a shit. The command line tools are brain dead by design, the documentation is inaccurate, there are essentially no error checking or reporting, and it has been this way since the inception.

Here's a bug from 2006 - guess what, this is still the status quo in Ubuntu 12.10, over six years later:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381252

Command line printing isn't a priority in Ubuntu, nor is difficult corner cases, like specifying a username.

Revision history for this message
Ketil Malde (ketil-ii) wrote :

Seems like a good idea that would take slightly less than six years to fix:

http://www.cups.org/str.php?L1781+P0+S-2+C0+I0+E0+M20+Q1781

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.