Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2023 07:29:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274552] Setting soft quota grace time has no effect, stays at default 7 days.
Message-ID:  <bug-274552-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274552

            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=3D245708&action=
=3Dedit
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 =3D=
=3D 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 attach=
ed
diff that moves the clearing of the QTF_CLOSING flag a few lines earlier to
allow call to dqget() to work.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274552-227>