From owner-freebsd-current@FreeBSD.ORG Sun Feb 23 18:11:09 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4836D36 for ; Sun, 23 Feb 2014 18:11:09 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 89FFF16DC for ; Sun, 23 Feb 2014 18:11:08 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id AFC475FCE0 for ; Sun, 23 Feb 2014 18:11:06 +0000 (UTC) Message-ID: <530A39BB.6070003@allanjude.com> Date: Sun, 23 Feb 2014 13:11:07 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: libinit idea References: <62A9DF47-C938-464B-92B6-9A2A96B5A9C9@FreeBSD.org> In-Reply-To: <62A9DF47-C938-464B-92B6-9A2A96B5A9C9@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HOdplItv9iCtRcmCx0JT4f5AknjKUkSxG" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Sun, 23 Feb 2014 18:11:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HOdplItv9iCtRcmCx0JT4f5AknjKUkSxG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-02-23 04:12, David Chisnall wrote: > Hi Bruno, >=20 > 3) It's easy for tools to add lines to rc.conf, it's hard to remove the= m. If you're administering a large number of nodes, you want to be able = to push out updates to all, in a way that doesn't clobber local changes. = Text file processing here is always going to be a fragile hack. >=20 sysrc solves this nicely, it is in base now, and is great for programmatically adding, removing and changing lines in rc.conf style files. It is also in ports for older versions of FreeBSD where it is not in base. At ScaleEngine, we make extensive use of a global rc.conf pushed by puppet, with local modifications in rc.conf.local (and we actually extend this with an rc.conf.role file, added to the rc_conf_files. --=20 Allan Jude --HOdplItv9iCtRcmCx0JT4f5AknjKUkSxG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTCjm/AAoJEJrBFpNRJZKf5KAP/jTu4Vx2ULYmHsdkX2DsHVUY REY7Yy66apJZbAaoK9ZKTHuGLUK5Bufc+PM5NWZXzuL4Jf+P945oZE8/boTkkswy 1IsLBzfr7v/kybMerIe0dhWJ77wi7RqP2d0WLVx6lo6VyXKNcfvIaa4+oNECYv1D Iq+q3bC5dV2yQe1GJ+uGhXysM9il7zaMkUwukaWMY6h2FOGU+0JPResjpt/ShCCy X1viqxu1KTJysl2QmIAurptwXY9TeeFKFv31P9cjIU3yY9DBmeFQcLhoRZOUdCDq EmGyWe1R1USa8XoUHuPf7qwe3qF49cGw198mq5bqne2a6C2eE3mPEPmyZB9QhOI+ NEQI8wmYBANSht/AZZ09jX8e1Id7uA09CEt2nzPBi97vu9/FV+ewPqLJfBX/cshP zsFIqbeGyi75DQoSa7gKw13b2k0kwfzXLYl1SzFOXz2DCFDPlXLO7kh8I1VPsD+6 A5UZ8Z69yCuIs51cPgsl5aDV43Tzrz6F6y6wrJ8YX+/EhsfJuFV7SAzSmqHT1bYY 8RT32WkE2rJMA/GumuaVxzAjXCFhdfaeJWYf/mkea3X3rBlQWIz/7wrkF8SyRBmS fzLiNcM6b7AQ6FQ7ecQ3HHcs5KsrXC2Ag86JFnmIcLZfpXUurTiKAC9gUzpeewIG x0v8XSbhihkQGps5JLfK =ZblD -----END PGP SIGNATURE----- --HOdplItv9iCtRcmCx0JT4f5AknjKUkSxG--