Bug 195354 - lpstat -p incorrectly reports current job
Summary: lpstat -p incorrectly reports current job
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: cups
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 176344
TreeView+ depends on / blocked
 
Reported: 2006-06-14 21:20 UTC by Bill Peck
Modified: 2007-11-30 22:07 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2007-05-01 22:50:20 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0225 normal SHIPPED_LIVE cups bug fix update 2007-04-28 17:07:43 UTC

Description Bill Peck 2006-06-14 21:20:36 UTC
Description of problem:
lpstat -p incorrectly reports current job

Version-Release number of selected component (if applicable):
All versions of RHEL4.  Works fine with RHEL3

How reproducible:
Everytime

Steps to Reproduce:
1. install any RHEL4 flavor
2. run the /CoreOS/cups/lpstat/now-printing in rhts
  
Actual results:
+ lp -H hold -dn1 /usr/share/cups/data/testprint.ps
request id is n1-1 (1 file(s))
+ lp -dn1 /usr/share/cups/data/testprint.ps
request id is n1-2 (1 file(s))
+ lpstat -p n1
+ tee lpstat-p-output
printer n1 now printing n1-1.  enabled since Jan 01 00:00


Expected results:
+ lp -H hold -dn1 /usr/share/cups/data/testprint.ps
request id is n1-1 (1 file(s))
+ lp -dn1 /usr/share/cups/data/testprint.ps
request id is n1-2 (1 file(s))
+ lpstat -p n1
+ tee lpstat-p-output
printer n1 now printing n1-2.  enabled since Jan 01 00:00
+ set +x

Additional info:
Link to additional runs in RHTS.
http://rhts.lab.boston.redhat.com/cgi-bin/rhts/test_list.cgi?lower=1&upper=25&first_lower=1&first_upper=25&last_lower=150&last_upper=165&next_lower=26&next_upper=50&prev_lower=1&prev_upper=25&prev_sort_char=&result=Fail&result=Pass&test_filter=%2FCoreOS%2Fcups%2Flpstat%2Fnow-printing&system_filter=&package_filter=

Comment 2 RHEL Product and Program Management 2006-08-18 15:30:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 9 Red Hat Bugzilla 2007-05-01 22:50:20 UTC
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 the 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.

http://rhn.redhat.com/errata/RHBA-2007-0225.html



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