Bug 589472 - quota command does not show grace period when hard limit is reached
quota command does not show grace period when hard limit is reached
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: quota (Show other bugs)
5.5
i386 Linux
medium Severity medium
: rc
: ---
Assigned To: Petr Pisar
Martin Cermak
: EasyFix
Depends On: 77871
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-06 05:09 EDT by Petr Pisar
Modified: 2011-01-13 17:10 EST (History)
6 users (show)

See Also:
Fixed In Version: quota-3.13-2.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 77871
Environment:
Last Closed: 2011-01-13 17:10:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2010-05-06 05:09:29 EDT
+++ This bug was initially created as a clone of Bug #77871 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
When the hardlimit has been reached by a user, the quota command no longer
displays the remaining grace period.  When only the soft limit has been
exceeded, the quota command performs as expected.  If the user, who has reached
the hard limit, removes files such that they are still over the soft limit, but
not at the hard limit, the grace period returns to the output of quota.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.create a user
2.set hard and soft block quotas for said user
3.create files (maybe with dd?)
4.run quota when the hard block limit has been reached
	

Actual Results:  Disk quotas for user frank (uid 2021):
  Filesystem  blocks   quota  limit   grace  files  quota  limit  grace
   /dev/hda1   10240*   8192  10240              2      0      0       

Expected Results:  Disk quotas for user frank (uid 2021):
  Filesystem  blocks   quota  limit   grace  files  quota  limit  grace
   /dev/hda1   10240*   8192  10240   7days      2      0      0       

Additional info:


--- Additional comment from ovasik@redhat.com on 2010-03-19 10:41:49 EDT ---

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.
Comment 8 errata-xmlrpc 2011-01-13 17:10:34 EST
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-2011-0023.html

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