conf/157687: [patch] /etc/rc.d/quota and quotaon args

Dmitry Banschikov d.banschikov at peterhost.ru
Tue Jun 7 13:30:13 UTC 2011


>Number:         157687
>Category:       conf
>Synopsis:       [patch] /etc/rc.d/quota and quotaon args
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 07 13:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Banschikov <d.banschikov at peterhost.ru>
>Release:        FreeBSD 6.4-STABLE-201004 amd64
>Organization:
peterhost.ru
>Environment:
System: FreeBSD titan.z8.ru 6.4-STABLE-201004 FreeBSD 6.4-STABLE-201004 #3: Tue Jun 15 12:44:14 MSD 2010 root at build_6_4.z8.ru:/usr/src/sys/amd64/compile/VH_6.4_64_01 amd64

>Description:
    Setting quota_enable="YES" in /etc/rc.conf and after that /etc/rc.d/quota restart (or start, stop) got error:
# /etc/rc.d/quota restart
usage: quotaon [-g] [-u] [-v] -a
quotaon [-g] [-u] [-v] filesystem ...
quotaoff [-g] [-u] [-v] -a
quotaoff [-g] [-u] [-v] filesystem ...
Checking quotas: done.
Enabling quotas: done.

Setting default values for variables quotaon_flags, quotacheck_flags and quotaoff_flags to "-a" will eliminate this error message and automatically complete for all fs with quota support described in /etc/fstab.


>How-To-Repeat:
    Set quota_enable to "YES" in /etc/rc.conf, and execute /etc/rc.d/quota start.
>Fix:
    Included patch sets default values for variable $quotaon_flags, $quotacheck_flags and $quotaoff_flags to "-a".

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


More information about the freebsd-bugs mailing list