[Top][All Lists]

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

Re: segfaults when running from kickstart file

From: Allen Bettilyon
Subject: Re: segfaults when running from kickstart file
Date: Sun, 8 Jun 2003 07:41:55 -0600

I remeber having the exact same issue!  Its been a while, but if my memory
serves me correctly,  I believe it was being caused when cfengine was
attempting to determine a specific host_class.

I fixed the issue by forcing the host_class define on the commandline.  For
example, my kickstart runs the following:

cfagent -D my_magic_class -qI >> /tmp/post.log

Normally, 'my_magic_class', would be dynamicly determined in update.conf.  I
was never able to figure out exactly WHY that was segfaulting in the
kickstart.  Perhaps it was related to the way I was determining the class.

Hope this helps.

- Allen Bettilyon

----- Original Message -----
From: "Lars Damerow" <address@hidden>
To: <address@hidden>
Sent: Thursday, June 05, 2003 10:49 AM
Subject: segfaults when running from kickstart file

> Hi all,
> I know this has come up before, but the answer I found in the archives
> do it) isn't optimal for me. ;)
> I'm trying to run cfengine on our machines during the %post step of our
> kickstart process. More specifically, %post calls a shell script that then
> repeatedly calls cfengine.
> On some types of our machines, it works like a charm. On others, though,
> consistently fails in the same way: a segmentation fault after an _llseek
> I've attached an strace. The baffling thing is that, when I alt-F2 to a
> chroot /mnt/sysimage, and then run the same cfengine script by hand, it
> just fine.
> Does anyone have any clues as to why this might be failing? I've verified
> the kickstarting machine's IP is in the range allowed by the server and
> when I run the script manually, the server is accepting the machine's
> key.
> I really don't want to resort to running the cfengine scripts after the
> reboots, since the changes the scripts make require another reboot. These
> reboots add up when I have to do them for 1500 machines. :P
> Please CC: me on any responses, as I'm not a member of the list.
> Thanks for your help!
> -lars
> ___________________________________________________________
> lars damerow
> button pusher
> pixar animation studios
> "Nauseous. Nauseated. The first means 'sickening to contemplate'; the
> means 'sick at the stomach.' Do not, therefore, say, "I feel nauseous,"
> you are sure you have that effect on others."
> - William Strunk Jr., "The Elements of Style"


> _______________________________________________
> Help-cfengine mailing list
> address@hidden

reply via email to

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