Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 1999 14:45:47 -0400
From:      veers@disturbed.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/13603: minor change to the quota behavior of etc/defaults/rc.conf
Message-ID:  <19990906184551Z61528-249%2B96@disturbed.net>

next in thread | raw e-mail | index | archive | help

>Number:         13603
>Category:       misc
>Synopsis:       quota integrity checks are off by default
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep  6 11:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Alex Perel
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

	-current

>Description:

An earlier submission of mine set the default quota_check variable to NO, 
which effectively turned off quota integrity checks unless otherwise specified.
This is not the desired effect since it's better safe than sorry, and quota
checks should run unless otherwise noted. 

I blame human for this mistake.

>How-To-Repeat:

set enable_quotas=YES in /etc/rc.conf. 
reboot. 
quotacheck will not run.

>Fix:
	
--- etc/defaults/rc.conf.old	Mon Sep  6 14:35:20 1999
+++ etc/defaults/rc.conf	Mon Sep  6 14:35:28 1999
@@ -206,7 +206,7 @@
 sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled)
 dumpdev="NO"		# Device name to crashdump to (if enabled).
 enable_quotas="NO"      # turn on quotas on startup (or NO).
-check_quotas="NO"	# Check quotas on startup (or NO).
+check_quotas="YES"	# Check quotas on startup (or NO).
 accounting_enable="NO"	# Turn on process accounting (or NO).
 ibcs2_enable="NO"	# Ibcs2 (SCO) emulation loaded at startup (or NO).
 linux_enable="NO"	# Linux emulation loaded at startup (or NO).



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990906184551Z61528-249%2B96>