Red Hat Bugzilla – Bug 497529
lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
Last modified: 2009-09-02 07:26:09 EDT
Created attachment 341167 [details]
Description of problem:
In 1.3.10 CUPS-Get-Jobs IPP requests without a printer-uri attribute are rejected. Unfortunately lpstat didn't start sending correctly-formed CUPS-Get-Jobs IPP requests until 1.3.10, so we'll need to patch 1.3.7 to do that.
This will make Red Hat Enterprise Linux 5 CUPS machines able to operate correctly with Fedora and future Red Hat Enterprise Linux releases.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.lpstat -h f10-host -o
List of queued jobs
See also bug #497518, the Fedora bug in which this was reported; and STR #2996, the upstream bug report which provoked the change.
Attached patch is sufficient.
STR #3107 is related, fixes cupsGetJobs2().
Created attachment 341198 [details]
Fedora bug report is bug #497519, not #497518.
If you're at it, please, also include STR #3117.
It is also related - it solves the issue with lpq.
Granting Devel ACK, simple fix.
Thanks & regards, Phil
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.