Red Hat Bugzilla – Bug 40194
quota fails to generate quota files
Last modified: 2014-01-21 17:48:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Terminal)
Description of problem:
1. quotacheck does not creates aquota.user or aquota.group files.
(freshly installed system with only one partition: /)
2. quotacheck does not repair corrupted aquota files.
Steps to Reproduce:
(aquota.user is created this way:
1. rm aquota.user
2. quotacheck -u /
Step 2. can be replaced with reset button.
(After unclean shutdown quotacheck should run from /etc/rc.d/rc.sysinit)
Actual Results: Nothing.
Expected Results: aquota.user file should be created.
Try this before you turn on quota:
convertquota -ug /
man quotacheck says:
If a file(aquota.user and/or aquota.group) is not present, quotacheck will
quotacheck is normally run at boot time as an init script located
in /etc/init.d before enabling disk quotas with quotaon.
Either the man page is incorrect or quotacheck does not do its job.
My opinion is: if something corrupts aquota files (eg.: I deleted them)
quotacheck should recreate or correct them without using convertquota, or any
convertquota is responsible for upgrading quota files, but why should I use for
a newly installed system.
/etc/rc.d/sysinit runs convertquota if quota.user or quota.group exists, but
if not, then quotacheck does not do anything because there will be no aquota
agreed, this is being fixed.
*** Bug 47577 has been marked as a duplicate of this bug. ***
*** Bug 53466 has been marked as a duplicate of this bug. ***
* repquota -ua segfaults after the output of the data
* repquota doesn't seem to print out correct values, because e.g. deleting
files does not change the numbers showed with repquota
I think this bug is still active for rh 7.2 systems
I cannot get quotas on a brand new system to work correctly.
they won't turn on and they won't let me generate new files.
This is definitely still happening on quota 3.01pre9-3 on 7.2
I'm reopening it.
oops, I'd like to reopen it - but I can't. B/c I didn't file it originally.
could we reopen this one? please?
ok, I'll be quiet, I promise, it is working correctly I was just misreading.
just ignore my last 4 comments.
I seem to be experiencing the exact same bug in Redhat 8.0 the version of quota
that I am using is quota-3.06-5.
The system I am using was a fresh install of 8.0 with the only one file system
I'm pretty sure that they mean that you can use quotacheck to create the quota
file, not that it will automatically be created when quotacheck is run after a
reboot (from init). You will typically need to use the "-c" parameter to create
the quota file, which is not done in the init file.