[Gllug] Fedora 11 gets it wrong

Richard Jones rich at annexia.org
Wed Jun 10 11:13:09 UTC 2009


On Wed, Jun 10, 2009 at 11:33:44AM +0100, - Tethys wrote:
> On Wed, Jun 10, 2009 at 9:25 AM, Bruce Richardson<itsbruce at workshy.org> wrote:
> > Not that I ever liked the old RH config tools.  The whole RH
> > /etc/sysconfig mess is nasty, partly because it was designed with the
> > aim of being parsable by python scripts rather than human admins.
> 
> I have to say, I've always thought /etc/sysconfig was one of Red Hat's
> strongest features. Simply set the appropriate variable, in an easily
> human parseable file of key=value pairs, and away you go. They failed
> a bit by including code (I'm thinking of networking here) rather just
> purely config values, but other than that, it's fine. Certainly
> Debian's /etc/interfaces is horrific to deal with in comparison.

If parsing and editing config files is a problem, try Augeas / augtool:

http://augeas.net/tour.html
http://www.redhat.com/archives/libvir-list/2008-August/msg00639.html

We also support Augeas in libguestfs - so you can use this technique
to edit config files inside virtual machines.  Try that Ubuntu ...

Rich.

-- 
Richard Jones
Red Hat
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list