From owner-freebsd-current@freebsd.org Tue Jul 12 14:10:52 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AC08B92614 for ; Tue, 12 Jul 2016 14:10:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB9DC161F; Tue, 12 Jul 2016 14:10:51 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id A8766546E; Tue, 12 Jul 2016 14:10:44 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/A8766546E; dkim=none; dkim-atps=neutral Subject: Re: Oversight in /etc/defaults/rc.conf To: Glen Barber References: <20160712122732.GA5596@FreeBSD.org> Cc: freebsd-current@freebsd.org, FreeBSD Release Engineering Team From: Matthew Seaman Message-ID: <483d186c-ca63-60ef-5703-8a7ae37e9ced@freebsd.org> Date: Tue, 12 Jul 2016 15:10:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160712122732.GA5596@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dIG7RgEHRWVBhi6kdFGh5UnwE0PAFtJuN" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 14:10:52 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dIG7RgEHRWVBhi6kdFGh5UnwE0PAFtJuN Content-Type: multipart/mixed; boundary="udR1JAiCUpeGx94cqSKAHu3FDorCOpwGU" From: Matthew Seaman To: Glen Barber Cc: freebsd-current@freebsd.org, FreeBSD Release Engineering Team Message-ID: <483d186c-ca63-60ef-5703-8a7ae37e9ced@freebsd.org> Subject: Re: Oversight in /etc/defaults/rc.conf References: <20160712122732.GA5596@FreeBSD.org> In-Reply-To: <20160712122732.GA5596@FreeBSD.org> --udR1JAiCUpeGx94cqSKAHu3FDorCOpwGU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/12/16 13:27, Glen Barber wrote: > On Tue, Jul 12, 2016 at 07:17:19AM +0100, Matthew Seaman wrote: >> I just upgraded my main machine to 11-STABLE. Things are mostly worki= ng >> fine -- however I did notice that the new iovctl rc script is apparent= ly >> enabled by default. That seems like a trivial omission: >> >> Index: 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 >> --- etc/defaults/rc.conf (revision 302482) >> +++ etc/defaults/rc.conf (working copy) >> @@ -695,6 +695,7 @@ >> rctl_enable=3D"YES" # Load rctl(8) rules on boot >> rctl_rules=3D"/etc/rctl.conf" # rctl(8) ruleset. See rctl.conf(5). >> >> +iovctl_enable=3D"NO" >> iovctl_files=3D"" # Config files for iovctl(8) >> >> ############################################################## >> >=20 > I'm not sure I understand. Is there a functional and/or performance > impact with it enabled by default? (Note, I don't disable it in my > rc.conf, and there is no /dev/iov/* on my system.) I'm not religious about it being turned off per se. More that it should have a clearly defined on/off state shown in the defaults. I went for 'off' following the general principle that rc.conf items should mostly be off by default and require specific action to enable. Yes, there are exceptions to this rule, but I see no particular reason that iovctl should be one. What's the advantage to turning it on by default on every FreeBSD installation? However, even if it's felt it should be enabled everywhere, then shouldn't /etc/defaults/rc.conf have: iovctl_enable=3D"YES" instead? Cheers, Matthew =09 --udR1JAiCUpeGx94cqSKAHu3FDorCOpwGU-- --dIG7RgEHRWVBhi6kdFGh5UnwE0PAFtJuN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXhPpkAAoJEABRPxDgqeTngzwP/iNBcnCZ3uVjc3cGPWOB/yyX JjuUOVNhHabaK3T6jgCoJ0+7/DqvqBqY+1lgcpmfPLLAtryOA4GLSgEuMdjzc6w9 9cqR4qQNrEEZDmofgdeuImqTGE+Fk+RHj5hEIu+E0+DFGoLOsU5QTr860HFxKkNx ozmxgRrVAlNWx/pZNbUkLAFsbTkI6j0lur33bKMzTynHXms3DQ9PJfSMND1wfZkG zNSwGRP3SxvqFMZGvhNvKgnSChQJ9cj4YqXT4aHKyQHOiaiaEA/uYV9+T3OXSmS8 96qqWF2poaMBurUJblr6vStjtfK0ZHnCw5pEgC/2kxOW106LW6usZ6JlglM8lO13 srmHM6DgaZuuLzBOak7vNZBWW/EGGwvs8qYZDbZm1tiFpnDpdGCWU0UeKul3Bp+0 YNm1JG1Z/24Fjvm4cffSihTCWDNJ/EofTgSu5pqePFZEsDxjumRty20XuzF7C7ey lsfyDGXPQSCkGqSm2Ci/GQSoynKDCtJ9iXD8e6Tkrxj/w/yfzRL9GXj+0Tp71vxs Qm0ZLIEFUYq7o23jNQxYP1huEK9b8GANfQ/BUyiHcRwXbmzJsBUSW7K7cGMzBGma ClAjaLrG0R8ktNmrRDJnivoiQsrUm9yfambKo3+5mYEsYRlWETMwzvt9bGNlALzq khAqSUo0C0JLn8DKVqR+ =PJkY -----END PGP SIGNATURE----- --dIG7RgEHRWVBhi6kdFGh5UnwE0PAFtJuN--