Bug 497532 - lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
Status: CLOSED CANTFIX
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cups (Show other bugs)
3.9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-24 10:02 EDT by Tim Waugh
Modified: 2010-11-23 09:23 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-23 09:23:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
cups-get-jobs-printer-uri.patch (1.32 KB, patch)
2009-04-24 10:02 EDT, Tim Waugh
no flags Details | Diff
cups-get-jobs-printer-uri.patch (1.87 KB, patch)
2009-04-24 11:49 EDT, Tim Waugh
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 2996 None None None Never
CUPS Bugs and Features 3107 None None None Never

  None (edit)
Description Tim Waugh 2009-04-24 10:02:57 EDT
Created attachment 341172 [details]
cups-get-jobs-printer-uri.patch

Description of problem:
In 1.3.10 IPP-Get-Jobs IPP requests without a printer-uri attribute are
rejected.  Unfortunately lpstat didn't start sending correctly-formed
IPP-Get-Jobs IPP requests until 1.3.10, so we'll need to patch 1.1.17 to do
that.

This will make Red Hat Enterprise Linux 3 CUPS machines able to operate
correctly with Fedora and future Red Hat Enterprise Linux releases.

Version-Release number of selected component (if applicable):
cups-1.1.17-13.3.58

How reproducible:
100%

Steps to Reproduce:
1.lpstat -h f10-host -o
  
Actual results:
Failure

Expected results:
List of queued jobs

See also:

* bug #497518, the Fedora bug in which this was reported;

* STR #2996, the upstream bug report which provoked the change;

* bug #497529, the equivalent bug for Red Hat Enterprise Linux 5;

* and bug #497530, the equivalent bug for Red Hat Enterprise Linux 4.

Attached patch is sufficient.
Comment 1 Tim Waugh 2009-04-24 11:49:30 EDT
STR #3107 is related, fixes cupsGetJobs2().
Comment 2 Tim Waugh 2009-04-24 11:49:58 EDT
Created attachment 341201 [details]
cups-get-jobs-printer-uri.patch
Comment 3 Tim Waugh 2009-04-24 12:29:34 EDT
Fedora bug report is bug #497519, not #497518.

Note You need to log in before you can comment on or make changes to this bug.