[Bug 274552] Setting soft quota grace time has no effect, stays at default 7 days.
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274552] Setting soft quota grace time has no effect, stays at default 7 days."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274552] Setting soft quota grace time has no effect, stays at default 7 days."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274552] Setting soft quota grace time has no effect, stays at default 7 days."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Oct 2023 07:29:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274552 Bug ID: 274552 Summary: Setting soft quota grace time has no effect, stays at default 7 days. Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mikel@svpal.org Created attachment 245708 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245708&action=edit Clear QTF_CLOSING flag before call to dqget() in quotaon(). Setting soft quota time limits with "edquota -t" has no effect on the quota system. The settings are stored in the quota.user file, but the soft quota grace period is unchanged at 7 days. I found the problem in "ufs/ufs/ufs_quota.c" where it attempts to load the quota record for id == 0 to set the value in ump->um_quotas[], but fails to load that quota record due to flags set in ump->um_qflags. A fix for the problem is included as an attached diff that moves the clearing of the QTF_CLOSING flag a few lines earlier to allow call to dqget() to work. -- You are receiving this mail because: You are the assignee for the bug.