Red Hat Bugzilla – Bug 142956
/usr/sbin/warnquota displays block limits all run together if 8 digits or over
Last modified: 2014-09-23 02:07:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
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
Block limits File limits
Filesystem used soft hard grace used soft hard
/dev/sda1 +-259749082097152031457280 6days 967 0 0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up a user's quota with soft and hard limits above 10000000 (ie
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.
This problem looks like it is fixed in release quota-3.12.
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.