>From Ed Brown <[EMAIL PROTECTED]>, 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
[EMAIL PROTECTED]

Share and Enjoy!


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to