William - this could well be a bug that was patched recently. I shall be releasing 2.1.19 this weekend FYI - perhaps that will help.
M On Thu, 2006-02-23 at 10:50 +0000, William H. Bell wrote: > Hi, > > Has anyone seen segmentation faults of cfengine built for x86_64? We have > been using cfengine 2.1.13 under both Redhat Enterprise 3.0.3 and 4.0 on > 32 bit systems. After buying some AMD Athlon 3800+ desktops I rebuilt our > RPM based on dag's rpm spec file for x86_64. When running "cfagent -q" on > the x86_64 client the program issued a segmentation fault while processing > our cf.groups file containing: > > groups: > > # Classes dependent on machine type > desktop = ( HostRange(machine,1-99) another09 ) > server = ( HostRange(boxes,4-5) ) > ppelx = ( machine55 machine62 machine70 ) > > I then built a x86_84 RPM of cfengine version 2.1.18 using dag's more > recent spec file http://dag.wieers.com/packages/cfengine/cfengine.spec and > tried that. This also gave a segmentation fault but with some more > information: > > [EMAIL PROTECTED] dir]# /usr/sbin/cfagent -q --debug > Setting cfengine new port to 48148 > Setting cfengine old port to 5308 > Reference time set to Thu Feb 23 10:37:26 2006 > > GNU Configuration Engine - > 2.1.18 > Free Software Foundation 1994- > Donated by Mark Burgess, Faculty of Engineering, > Oslo University College, 0254 Oslo, Norway > > ------------------------------------------------------------------------ > > Host name is: CLIENT-CENSORED > Operating System Type is linux > Operating System Release is 2.4.21-37.0.1.ELsmp > Architecture = x86_64 > > > Using internal soft-class linux for host linux > > The time is now Thu Feb 23 10:37:26 2006 > > > ------------------------------------------------------------------------ > > Additional hard class defined as: 64_bit > Additional hard class defined as: linux_2_4_21_37_0_1_ELsmp > Additional hard class defined as: linux_x86_64 > Additional hard class defined as: linux_x86_64_2_4_21_37_0_1_ELsmp > Additional hard class defined as: > linux_x86_64_2_4_21_37_0_1_ELsmp__1_SMP_Thu_Ja > n_19_16_26_58_CST_2006 > > GNU autoconf class from compile time: compiled_on_linux_gnu > > Address given by nameserver: CENSORED > Interface 1: lo > Interface 2: eth0 > Trying to locate my IPv6 address > Looking for environment from cfenvd... > > Unable to detect environment from cfenvd > > cfengine:: No preconfiguration file > > $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ > * (Changing context state to: update) * > $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ > > Looking for an input file /var/cfengine/inputs/update.conf > Finished with update.conf > > --------------------------------------------------------------------- > Looking for remote method collaborations > --------------------------------------------------------------------- > > > Finished with RPC > > LogDirectory = /var/cfengine > Loaded /var/cfengine/ppkeys/localhost.priv > Loaded /var/cfengine/ppkeys/localhost.pub > Checksum database is /var/cfengine/checksum.db > > ********************************************************************* > Update Sched: copy pass 1 @ Thu Feb 23 10:37:26 2006 > ********************************************************************* > > Checking copy from SERVER-CENSORED:/var/cfengine/inputs/config to > /var/cfengine/inputs > Connect to SERVER-CENSORED = SERVER-CENSORED on port 5308 > cfengine:: Trusting server identity and willing to accept key from > SERVER-CENSORED=SERVER-CENSORED > Saving public key /var/cfengine/ppkeys/root-SERVER-CENSORED.pub > cfengine:: /var/cfengine/inputs/cfagent.conf wasn't at destination (copying) > cfengine:: Copying from > SERVER-CENSORED:/var/cfengine/inputs/config/cfagent.conf > cfengine:: /var/cfengine/inputs/cfservd.conf wasn't at destination (copying) > cfengine:: Copying from > SERVER-CENSORED:/var/cfengine/inputs/config/cfservd.conf > cfengine:: /var/cfengine/inputs/CHANGES wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/CHANGES > cfengine:: /var/cfengine/inputs/cf.main wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/cf.main > cfengine:: /var/cfengine/inputs/cf.sl303 wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/cf.sl303 > cfengine:: /var/cfengine/inputs/cf.groups wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/cf.groups > cfengine:: /var/cfengine/inputs/cf.sl40 wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/cf.sl40 > cfengine:: /var/cfengine/inputs/cf.sl305 wasn't at destination (copying) > cfengine:: Copying from SERVER-CENSORED:/var/cfengine/inputs/config/cf.sl305 > Saving the setuid log in > /var/cfengine/cfagent.CLIENT-CENSORED.ph.gla.ac.uk.log > > ********************************************************************* > Update Sched: tidy pass 1 @ Thu Feb 23 10:37:26 2006 > ********************************************************************* > > --------------------------------------------------------------------- > Tidying Spool Directories > --------------------------------------------------------------------- > > -------------------------------------- > > cf:cfengine::/var/cfengine/inputs/cf.groups:8: Function or format of input > file requires 1 argument items > > Segmentation fault > > Line 8 of the cf.groups file contains the first use of HostRange: > desktop = ( HostRange(machine,1-99) another09 ) > > Has anyone seen anything like this? Should I be using some special built > options. (I can send the build log for any interested.) For now I'm > using my i386 RPM on the x86_64 system. > > Thanks and Best Regards, > > Will > > > _______________________________________________ > Bug-cfengine mailing list > Bug-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-cfengine _______________________________________________ Bug-cfengine mailing list Bug-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cfengine