Hello,

I installed cfengine under Solaris 8, and have a segfault with cfexecd.
I have the 2.1.15 version, built from source, but the problem is also in
the SunFreeWare.com package, which is 2.1.13.

The bug is in cfpopen.

When I run cfexecd, the first cfpopen works
cfpopen(/var/cfengine/bin/cfagent -Q
smtpserver,sysadm,fqhost,ipaddress,EmailMaxLines,EmailFrom,EmailTo -D
from_cfexecd)
cfpclose(pp)

Then, the second cfpopen makes a segfault:
cfpopen - Waiting for process 5797
Got(to:[EMAIL 
PROTECTED],serv:mailhost,host:merlin.cits.rncan.gc.ca,ip:132.156.18.24,max:2000,from:)
cfpopen(/var/cfengine/bin/cfagent -z -D from_cfexecd)
Segmentation Fault (core dumped)

Using gdb gives me this:
(gdb) bt
#0  0xff0c5ba0 in ?? ()
#1  0xff0c79c8 in ?? ()
#2  0x0002fcb8 in cfpopen (command=0xff0de000 "", type=0xff0de000 "") at
popen.c:74

This popen.c:74 is a call to fork()

Anyone has a clue on what could possibly be the problem?

-- 
Jean-Michel Dault <[EMAIL PROTECTED]>
Révolution Linux inc.




_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cfengine

Reply via email to