help-cfengine
[Top][All Lists]
Advanced

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

Re: more cfagent during kickstart woes


From: Ed Brown
Subject: Re: more cfagent during kickstart woes
Date: Tue, 27 Jul 2004 11:38:30 -0600

This is more of a kickstart question and answer, but you can switch to
an alternate console for %post, or even just for running cfagent.  You
can also check for success, and open a shell for troubleshooting if
necessary, within kickstart.  E.g.:

%post
chvt 3
exec < /dev/tty3 > /dev/tty3
(do your cfengine install, including update.conf ...)
cfagent -qv 
if [ $? -ne 0 -o ! -f /var/cfengine/inputs/cfagent.conf ]
then
        echo 'some warning and debug hints'
        cd /var/cfengine/inputs
        sh
fi
...


hth,
Ed


On Tue, 2004-07-27 at 11:19, Lars Damerow wrote:
> Hi folks!
> 
> I'm once again having issues running cfagent during the Fedora kickstart
> scripts. It doesn't seem to be doing any work--it's just eating 99% of the CPU
> somewhere in its getopt handling. This is with version 2.1.7.
> 
> Has anyone seen this behavior? The fact that cfengine is running during the
> kickstart post scripts makes debugging pretty hard, so if anyone has any tips
> for debugging during kickstart, I'd love to hear them.
> 
> Thanks!
> -lars
> 
> --
> lars damerow
> button pusher
> pixar animation studios
> lars@pixar.com
> 
> "Son, I am able," she said, "though you scare me."
> "Watch," said I. "Beloved," I said, "watch me scare you though."
> Said she, "Able am I, Son.."
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

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