Bug 142956

Summary: /usr/sbin/warnquota displays block limits all run together if 8 digits or over
Product: Red Hat Enterprise Linux 3 Reporter: Steven Young <steven.young>
Component: quotaAssignee: Amit Gud <agud>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: mcermak, steved
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: quota-tools-3.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-28 16:15:02 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:
Attachments:
Description Flags
A patch file for warnquota.c none

Description Steven Young 2004-12-15 12:24:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
When quota limits are above 10G, then when warnquota is used to
provide user quota warning by email, the reported block limits all run
together.

Ie:
                        Block limits               File limits
Filesystem           used    soft    hard  grace    used  soft  hard 
grace
/dev/sda1      +-259749082097152031457280  6days     967     0     0     



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

How reproducible:
Always

Steps to Reproduce:
1. Set up a user's quota with soft and hard limits above 10000000 (ie
8 digits).
2. Make the user's usage go above their soft limit
3. Run /usr/sbin/warnquota and examine the email output.
    

Actual Results:  The reported block limit values all run together and
are difficult to read.

Expected Results:  There should be (at least) a space between the
block limit values.

Additional info:

This problem looks like it is fixed in release quota-3.12.

Comment 1 Steven Young 2004-12-15 12:28:31 UTC
Created attachment 108605 [details]
A patch file for warnquota.c

I've included this patch in an appropriate RPM spec to build a version of
warnquota that I want to use.