[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 13:10:45 -0600 |
We've seen this too, but not consistently, and with no discernible
pattern, except that it is fairly recent (2.1.6 and later?).
For whatever reason, it has not re-occurred since I split the cfagent
call into two calls (in %post):
cfagent -qv -f update.conf
cfagent -qv
-Ed
On Tue, 2004-07-27 at 12:37, Lars Damerow wrote:
> Hi guys,
>
> Thanks for the advice--I've been using the shell on console 2 for a while in
> the hopes of getting a gdb session attached to cfengine, but haven't gotten
> very far. When it's hung, strace doesn't show anything interesting, so I
> assume
> it's not making any syscalls.
>
> Ed--switching virtual consoles and redirecting the output is a great idea! I
> just did that, set cfengine to verbose and debugging mode, and the last few
> lines it outputs before segfaulting (it gets a segmentation fault now) are:
>
> Appending [ipv4_13_72]
> AddClassToHeap(ipv4_138)
> Appending [ipv4_138]
> Trying to locate my IPv6 address
> cfpopen(/sbin/ifconfig -a)
>
> ...and then it segfaults. Perhaps I need to disable IPv6 during kickstart..?
>
> cheers,
> lars
>
> >From Ed Brown <ebrown@lanl.gov>, Tue, Jul 27, 2004 at 11:53:10AM -0600:
> > Good advice, especially if cfagent is hanging within kickstart. If you
> > switch to alt+F2, do 'chroot /mnt/sysimage' to get to the same
> > environment that commands in %post (by default) run in.
> >
> > -Ed
> >
> >
> > On Tue, 2004-07-27 at 11:32, Jeff Sheltren wrote:
> > > Hi Lars, I haven't seen this problem and I have used cfengine in my
> > > kickstart scripts for both FC1 and FC2. What I would recommend is that
> > > you
> > > have kickstart run cfengine in verbose mode (maybe even debug?). Then,
> > > you
> > > can watch the output on one of the install screens (ctrl+alt+F3 I think).
> > > Hopefully that will help you track down the problem. If not, you can
> > > access
> > > the shell (ctrl+alt+F2 during install), and do an strace or similar on the
> > > cfengine process to see what is up.
> > >
> > > -Jeff
>
> --
> lars damerow
> button pusher
> pixar animation studios
> lars@pixar.com
>
> "What men are poets who can speak of Jupiter if he were like a man, but if
> he is an immense spinning sphere of methane and ammonia must fall silent?"
>
> - Richard Feynmann
- more cfagent during kickstart woes, Lars Damerow, 2004/07/27
- Re: more cfagent during kickstart woes, Jeff Sheltren, 2004/07/27
- Re: more cfagent during kickstart woes, Ed Brown, 2004/07/27
- Re: more cfagent during kickstart woes, Lars Damerow, 2004/07/27
- Re: more cfagent during kickstart woes,
Ed Brown <=
- Re: more cfagent during kickstart woes, Erik Dykema, 2004/07/27
- Re: more cfagent during kickstart woes, Lars Damerow, 2004/07/27
- Re: more cfagent during kickstart woes, Ed Brown, 2004/07/27
- Re: more cfagent during kickstart woes, Geir Hauge, 2004/07/28
- Re: more cfagent during kickstart woes, Mark . Burgess, 2004/07/28
Re: more cfagent during kickstart woes, Ed Brown, 2004/07/27