Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2015 11:52:44 +0300
From:      Dmitry Sivachenko <trtrmitya@gmail.com>
To:        Edward Tomasz Napierala <trasz@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r286329 - in head/etc: defaults rc.d
Message-ID:  <92FC24C2-8B61-4B02-87E0-D4C6D4DA8ECF@gmail.com>
In-Reply-To: <201508051738.t75Hc2MP038354@repo.freebsd.org>
References:  <201508051738.t75Hc2MP038354@repo.freebsd.org>

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

> On 5 =D0=B0=D0=B2=D0=B3. 2015 =D0=B3., at 20:38, Edward Tomasz =
Napierala <trasz@FreeBSD.org> wrote:
>=20
> Author: trasz
> Date: Wed Aug  5 17:38:02 2015
> New Revision: 286329
> URL: https://svnweb.freebsd.org/changeset/base/286329
>=20
> 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.
>=20
>  MFC after:	1 month
>  Sponsored by:	The FreeBSD Foundation
>=20
> Modified:
>  head/etc/defaults/rc.conf
>  head/etc/rc.d/rctl
>=20
> Modified: head/etc/defaults/rc.conf
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- 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=3D"NO"	# Opensm(8) for infin
> casperd_enable=3D"YES"	# casperd(8) daemon
>=20
> # rctl(8) requires kernel options RACCT and RCTL
> -rctl_enable=3D"NO"		# Load rctl(8) rules on boot
> +rctl_enable=3D"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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92FC24C2-8B61-4B02-87E0-D4C6D4DA8ECF>