Bug 497532

Summary: lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
Product: Red Hat Enterprise Linux 3 Reporter: Tim Waugh <twaugh>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED CANTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9CC: pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-23 14:23:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
cups-get-jobs-printer-uri.patch
none
cups-get-jobs-printer-uri.patch none

Description Tim Waugh 2009-04-24 14:02:57 UTC
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 15:49:30 UTC
STR #3107 is related, fixes cupsGetJobs2().

Comment 2 Tim Waugh 2009-04-24 15:49:58 UTC
Created attachment 341201 [details]
cups-get-jobs-printer-uri.patch

Comment 3 Tim Waugh 2009-04-24 16:29:34 UTC
Fedora bug report is bug #497519, not #497518.