lpstat in CUPS 1.3 can't list jobs on CUPS 1.4 servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
Jaunty |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
IMPACT: lpstat on CUPS <=1.3.9 is unable to list jobs on a CUPS 1.4 server
DEVELOPMENT: Karmic and Lucid side-stepped this bug by upgrading to CUPS 1.4 clients. CUPS upstream fixed this in 1.3.10, and the attached patches backport that fix.
PATCHES: http://
INSTRUCTIONS: Reproduce by running `lpstat -h <server> -o <queue>` against a CUPS 1.4 queue.
REGRESSION: I think regression is unlikely. The patches only add another option to lpstat requests - the patch is from upstream, no code is removed, and empirically the patch works.
===
CUPS versions before 1.3.10 failed to include a printer-uri attribute in IPP_GET_JOBS requests issued by lpstat.
Against servers running CUPS 1.4, this causes an error when you try to use lpstat to retrieve jobs:
dr-wily:~ broder$ lpstat -h get-print.mit.edu -o ajax
lpstat: No printer-uri in request!
This can be fixed by backporting a patch from upstream (parts of r8146 in http://
Related branches
description: | updated |
Changed in cups (Ubuntu Hardy): | |
status: | New → Triaged |
Changed in cups (Ubuntu Intrepid): | |
status: | New → Triaged |
Changed in cups (Ubuntu Jaunty): | |
status: | New → Triaged |
Changed in cupsys (Ubuntu Hardy): | |
status: | New → Triaged |
Changed in cupsys (Ubuntu Intrepid): | |
status: | New → Triaged |
Changed in cupsys (Ubuntu Jaunty): | |
status: | New → Triaged |
Changed in cupsys (Ubuntu Intrepid): | |
status: | Triaged → Invalid |
Changed in cups (Ubuntu Hardy): | |
status: | Triaged → Invalid |
Changed in cupsys (Ubuntu Jaunty): | |
status: | Triaged → Invalid |
Changed in cupsys (Ubuntu): | |
status: | New → Triaged |
Changed in cups (Ubuntu): | |
status: | New → Triaged |
Changed in cups (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in cupsys (Ubuntu): | |
status: | Triaged → Invalid |
SRU fix for Hardy