#4192 quota_now uses hard-coded filenames.

closed-fixed
Jamie Cameron
5
2013-01-29
2013-01-29
T.J.
No

In quota/linux-lib.pl, quota_now has the following filenames hard-coded:
* quota.user/aquota.user
* quota.group/aquota.group

This means that if someone uses an alternate filename in fstab, (EX usrjquota=aquota.usr,grpjquota=aquota.grp), the quota_now function will not have the proper return value. This manifests itself primarily in virtualmin, which claims that quotas are not enabled.

I guess the proper solution is to parse the filename out of the mount flags.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2013-01-29

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2013-01-29

    Thanks - I will fix Webmin in the 1.620 release to handle this case.