You're setting the SIGCHILD sig handler to SIG_DFL... but where??? There's been some discussion for package comparions always returning "not installed" when cfrun runs cfservd on RHEL3... what you're describing sounds rather similar... perhaps you should try this patch...
http://svn.iu.hio.no/viewcvs/trunk/src/popen.c?rev=44&r1=12&r2=44&diff_format=u Refer to bug-cfengine msgs with these Subject lines... "packages: under cfrun only" bug on RHEL3? fix for a bug in cfservd v2.1.11 Strange behavioural differences when invoking cfengine through cfrun steve - - - systems & network manager high energy physics university of wisconsin (PS, running the latest snapshot on the client-side only will work: the snapshot/subversion/2.1.14 clients are incompatable with earlier servers.) > ---- Original Message ---- > From: Bas van der Vlies > cfengine: 2.1.13 > > On our debian cluster (linux 2.6.11 kernel) we update the packages on > the node via cfrun/cfservd. This does not work with cfengine 2.13. I got > the following error: > Can't ignore signal CHLD, forcing to default > > After spitting through the code. We changed the code into: > signal(SIGCHLD,SIG_IGN); > > /* HvB && WdJ */ > signal(SIGCHLD,SIG_DFL); ---> This solved our problem > > Is this the right approach? > > > > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-cfengine _______________________________________________ Bug-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cfengine
