svn commit: r286329 - in head/etc: defaults rc.d

Dmitry Sivachenko trtrmitya at gmail.com
Thu Aug 6 08:52:49 UTC 2015


> On 5 авг. 2015 г., at 20:38, Edward Tomasz Napierala <trasz at FreeBSD.org> wrote:
> 
> Author: trasz
> Date: Wed Aug  5 17:38:02 2015
> New Revision: 286329
> URL: https://svnweb.freebsd.org/changeset/base/286329
> 
> Log:
>  Make rctl_enable rc variable actually work.  To avoid breaking existing
>  setups that worked before, flip the default to "YES".  Most people don't
>  have /etc/rctl.conf, so they won't be affected in any way.
> 
>  MFC after:	1 month
>  Sponsored by:	The FreeBSD Foundation
> 
> Modified:
>  head/etc/defaults/rc.conf
>  head/etc/rc.d/rctl
> 
> Modified: head/etc/defaults/rc.conf
> ==============================================================================
> --- head/etc/defaults/rc.conf	Wed Aug  5 17:21:42 2015	(r286328)
> +++ head/etc/defaults/rc.conf	Wed Aug  5 17:38:02 2015	(r286329)
> @@ -664,7 +664,7 @@ opensm_enable="NO"	# Opensm(8) for infin
> casperd_enable="YES"	# casperd(8) daemon
> 
> # rctl(8) requires kernel options RACCT and RCTL
> -rctl_enable="NO"		# Load rctl(8) rules on boot
> +rctl_enable="YES"		# Load rctl(8) rules on boot


Sad to see that rarely used feature has default as "YES".

PS: Please adjust rc.conf(5) accordingly, it assumes the default is NO.



More information about the svn-src-all mailing list