Hey folks

I was trying to get an idea / might be cool to include in the release notes the 
versions of dependencies that people have had success running 3.1.3 on.  (pcre, 
openssl, berkeleydb, flex, etc.)

I’m running into a weird issue where my x86 hosts aren’t having any issue with 
3.1.3 running through my policies.  My SPARC builds however, segfault when I 
try to look at the process table.

$ /var/cfengine/bin/cf-agent -I -K -b cfengine_automated_execution
 >> Using command line specified bundlesequence
Segmentation Fault
...
...
..

cf3
cf3  -> This promise has already been verified
cf3  -> No edit changes to file /var/spool/cron/crontabs/root need saving
cf3  -> Handling file existence constraints on /var/spool/cron/crontabs/root
cf3
cf3    =========================================================
cf3    processes in bundle cfengine_automated_execution (1)
cf3    =========================================================
cf3
cf3 Observe process table with /bin/ps -eo 
user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,nlwp,stime,time,args,zone
Segmentation Fault



I’m assuming since my x64 build works, that this isn’t a problem with Cfengine 
3.1.3 per say, but probably one of the versions of the library dependencies 
I’ve compiled against.  (I’m guessing pcre?)



If I comment out the following from the policy, I don’t hit the segfault.

processes:
        "cf-serve"
                handle          =>      "verify_cf_serverd_is_running",
                restart_class   =>      "start_cf_serverd";

                "cf-monit"
                handle          =>      "verify_cf_monitord_is_running",
                restart_class   =>      "start_cf_monitord";



I’m currently compiled against:
Flex-2.5.35
BerkeleyDb 4.4
OpenSSL 11.10.0
m4-1.4.14
Pcre-8.02


Anyways, if you’ve got 3.1.3 working for SPARC hosts and you execute process 
checks, I’d be curious what versions of the dependencies you’re using to build.

Thanks
Mike


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to