On 21 January 2011 10:07, Mark Burgess <mark.burg...@iu.hio.no> wrote: > > That's unlikely. Can you provide a gdb backtrace please?
After make; make install on the 3.1.3 tarball of today, I get the runlog shown below when I run in the global zone on a virgin Solaris 10 x86 complete installation. It looks like it has something to do with the handling of the ps output in Solaris global zones - zero length string param to ForeignZone? - Erlend bash-3.00# make; make install; ... bash-3.00# ls -lrt /usr/local/sbin total 43078 -rwxr-xr-x 1 root root 2155212 Jan 22 22:09 cf-know -rwxr-xr-x 1 root root 2092672 Jan 22 22:09 cf-promises -rwxr-xr-x 1 root root 2351316 Jan 22 22:09 cf-agent -rwxr-xr-x 1 root root 2206124 Jan 22 22:09 cf-monitord -rwxr-xr-x 1 root root 2223140 Jan 22 22:09 cf-serverd -rwxr-xr-x 1 root root 2130256 Jan 22 22:09 cf-execd -rwxr-xr-x 1 root root 2116792 Jan 22 22:09 cf-runagent -rwxr-xr-x 1 root root 2078436 Jan 22 22:09 cf-key -rwxr-xr-x 1 root root 2129240 Jan 22 22:09 cf-report -rwxr-xr-x 1 root root 2053260 Jan 22 22:09 cf-hub bash-3.00# ls -lrt /var/cfengine /var/cfengine: No such file or directory bash-3.00# /usr/local/sbin/cf-key Making a key pair for cfengine, please wait, this could take a minute... bash-3.00# cp /usr/local/share/doc/cfengine/inputs/*cf /var/cfengine/inputs/ bash-3.00# /usr/local/sbin/cf-agent --bootstrap bash-3.00# /usr/local/sbin/cf-agent Segmentation Fault (core dumped) bash-3.00# file core core: ELF 32-bit LSB core file 80386 Version 1, from 'cf-monitord' bash-3.00# gdb /usr/local/sbin/cf-agent GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-pc-solaris2.10"... (gdb) run Starting program: /usr/local/sbin/cf-agent warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074 Program received signal SIGSEGV, Segmentation fault. 0x080b62be in ForeignZone (s=0x0) at enterprise_stubs.c:1178 1178 if (strcmp(s+strlen(s)-7,"global")) (gdb) backtrace #0 0x080b62be in ForeignZone (s=0x0) at enterprise_stubs.c:1178 #1 0x080b6ab5 in Unix_LoadProcessTable (procdata=0x81245b0, psopts=0x81ab040 "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,nlwp,stime,time,args,zone") at unix.c:359 #2 0x08063b69 in NewTypeContext (type=kp_processes) at agent.c:1125 #3 0x08063e44 in ScheduleAgentOperations (bp=0x820e7f0) at agent.c:858 #4 0x080640e2 in KeepPromiseBundles () at agent.c:821 #5 0x080641d9 in KeepPromises () at agent.c:363 #6 0x0806426f in main (argc=1, argv=0x8047df0) at agent.c:151 (gdb) quit The program is running. Exit anyway? (y or n) y bash-3.00# _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine