Bug 496082 - Unable to set Quota limits using lpadmin command.
Unable to set Quota limits using lpadmin command.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cups (Show other bugs)
5.3
All Linux
low Severity medium
: rc
: ---
Assigned To: Tim Waugh
BaseOS QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-16 10:34 EDT by Niranjan Mallapadi Raghavender
Modified: 2010-03-30 04:15 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-30 04:15:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 3077 None None None Never
CUPS Bugs and Features 3078 None None None Never
CUPS Bugs and Features 3407 None None None Never

  None (edit)
Description Niranjan Mallapadi Raghavender 2009-04-16 10:34:30 EDT
Description of problem:
On RHEL5.3 system with cups version cups-1.3.7-8.el5, when trying to set quota limits or Job page limit using lpadmin command,  these limits are not enforced. 


Version-Release number of selected component (if applicable):
cups-1.3.7-8.el5

How reproducible: Run "lpadmin -p test -o job-quota-period=60400 -o job-page-limit=100" and in  /etc/cups/printers.conf doesn't reflect the above values , showing QuotaPeriod and PageLimit as 0.


Steps to Reproduce:
1.Create a print queu e
#lpadmin -p test -E -v socket://10.65.63.223:9100 -P /usr/share/cups/model/laserjet.ppd.gz

2.Set quota
#lpadmin -p test -o job-quota-period=60400 -o job-page-limit=100

3.cat /etc/cups/printers.conf 
<Printer test>
Info test
DeviceURI socket://10.65.63.223:9100
State Idle
StateTime 1239891818
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

  
Actual results:

The job-quota-period and job-page-limit is never set 

Expected results:
The job-quota-period and job-page-limit should be set

Additional info:

The patch for the above is available upstream.
http://cups.org/str.php?L3077
http://cups.org/str.php?L3078
Comment 7 errata-xmlrpc 2010-03-30 04:15:17 EDT
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.

http://rhn.redhat.com/errata/RHBA-2010-0210.html

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