help-cfengine@gnu.org
[Top] [All Lists]

Re: another mysterious segfault

Subject: Re: another mysterious segfault
From: Lars Damerow
Date: Mon, 29 Aug 2005 16:20:15 -0700
>From Ed Brown <ebrown@xxxxxxxx>, Mon, Aug 29, 2005 at 05:10:11PM -0600:
> On Mon, 2005-08-29 at 15:49, Lars Damerow wrote:
> > I really wish there were a better way to debug cfengine during kickstart.
> 
> To make a kickstart script more robust and versatile, you can
> error-check every significant step, and if failure is detected, start a
> sub-shell.  This gives you the opportunity to debug and work around
> one-time problems, probably resulting in a successful install without
> starting all over.  Here's some excerpts by way of suggestion.  (A
> subroutine could make the error-checking 
> routine easier, I just haven't got around to re-writing this...)

Thanks for the tip! I'll try it out to see if it'll help with this particular
problem, but sadly it won't help me in the long term; the number of machines we
have precludes any interactive steps in our machine buildouts.

I have a very naive question--is there any reason aside from speed that
cfengine is written in C? The sysadmin in me can't help but think that a
scripting language would have better error reporting than
"Segmentation fault." ;)

cheers,
lars

--
lars damerow
button pusher
pixar animation studios
lars@xxxxxxxxx

Share and Enjoy!


_______________________________________________
Help-cfengine mailing list
Help-cfengine@xxxxxxx
http://lists.gnu.org/mailman/listinfo/help-cfengine

<Prev in Thread] Current Thread [Next in Thread>