Re: libinit idea

From: Allan Jude <freebsd_at_allanjude.com>
Date: Sun, 23 Feb 2014 13:11:07 -0500
On 2014-02-23 04:12, David Chisnall wrote:
> Hi Bruno,
> 
> 3) It's easy for tools to add lines to rc.conf, it's hard to remove them.  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.
> 

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.


-- 
Allan Jude


Received on Sun Feb 23 2014 - 17:11:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC