help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: another mysterious segfault


From: Lars Damerow
Subject: Re: another mysterious segfault
Date: Mon, 29 Aug 2005 16:20:15 -0700
User-agent: Mutt/1.5.6i

>From Ed Brown <address@hidden>, 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
address@hidden

Share and Enjoy!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]