Bug 77871
Summary: | quota command does not show grace period when hard limit is reached | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Scott McBrien <smcbrien> | ||||||
Component: | quota | Assignee: | Petr Pisar <ppisar> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | CC: | azelinka, kvolny, notting, ovasik, pollock | ||||||
Target Milestone: | --- | Keywords: | EasyFix | ||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | quota-3.12-8.el4 | Doc Type: | Bug Fix | ||||||
Doc Text: |
When a user reached the hard quota limit, the "quota" command did not display the remaining grace period (that is, the remaining time before enforcing the limits) in its output. With this update, "quota" always displays the amount of time remaining in the grace period when the user has exceeded or met their hard or soft disk usage limit.
|
Story Points: | --- | ||||||
Clone Of: | |||||||||
: | 589472 (view as bug list) | Environment: | |||||||
Last Closed: | 2010-10-13 13:56:27 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 589472 | ||||||||
Attachments: |
|
Description
Scott McBrien
2002-11-14 16:30:41 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. Note that any bug still open against Red Hat Linux on will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help. Steve, Basically what I'd expect to happen is that even if the hard limit is reached, the quota command run by a user would continue to show their current, remaining grace period. Currently, the grace period is shown if a user is over their soft limit, but when they reach their hard limit the information is not displayed, even though the soft limit grace period is still counting downward. It would make sense to not display the grace period if the user does not have a soft limit set. -Scott Created attachment 150643 [details]
"script" output illustrating problem
This transcript on an FC6 system shows the problem.
I have confirmed this problem in FC4-FC6 (quota-3.13-1.2.3.1). I have also confirmed that the problem is not present if you build quota from source from http://sourceforge.net/projects/linuxquota (version 3.14). So I assume the official RPM needs to be rebuilt. This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". Patch is available at http://linuxquota.cvs.sourceforge.net/viewvc/linuxquota/quota-tools/quota.c?r1=1.15&r2=1.16 - note - just part of that patch is needed to fix the issue, in fact easyfix. Created attachment 411864 [details]
Fix
This is a patch back-ported from above-mentioned CVS link. It fixes this bug.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: When a user reached the hard quota limit, the "quota" command did not display the remaining grace period (that is, the remaining time before enforcing the limits) in its output. With this update, "quota" always displays the amount of time remaining in the grace period when the user has exceeded or met their hard or soft disk usage limit. 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-0767.html |