Subject: kern/9565: Grace period ignored by quotas
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sean.withm@asa.co.uk>
List: netbsd-bugs
Date: 03/07/2000 11:33:57
>Number:         9565
>Category:       kern
>Synopsis:       Grace period ignored by quotas
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar  7 11:30:01 2000
>Last-Modified:
>Originator:     System Operator
>Organization:
	ASA Ltd.
>Release:        NetBSD-1.4.1
>Environment:
	i386, NetBSD-1.4.1
System: NetBSD rincewind.asa.co.uk 1.4.1 NetBSD 1.4.1 (GENERIC) #1: Tue Aug 10 00:03:09 MEST 1999 fvdl@struis:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
	The grace period on users quota's are ignored. When a soft quota is
	exceded the grace period reported by quota -v is none and the quota
	is enforeced as a hard quota straight away.
>How-To-Repeat:
	Turn on user quotas for a disk partition. Edit the user quota limits
	for a user on that parttition say 2000000 soft limit, 4000000 hard
	limit, and a grace period of 14. Files tothe partition until the soft
	limit is reached, at which point no further writes to the parition as
	that user will be possible
>Fix:
	Only fwork arround I know of at this time is to raise the soft limit
	to the value of the hard limit or to turn quota enforcement off.
	The problem did not exist on the previous NetBSD-1.2.1 installation.
>Audit-Trail:
>Unformatted: