[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problems with variable expansion in 2.1.16
From: |
Martin, Jason H |
Subject: |
RE: Problems with variable expansion in 2.1.16 |
Date: |
Wed, 5 Oct 2005 08:42:53 -0700 |
I see several '0/1 minutes elapsed' messages in there. Do you get the
same results if you wait 2 minutes before running it again?
-Jason Martin
> -----Original Message-----
> From:
> help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org
> [mailto:help-cfengine-bounces+jason.h.martin=cingular.com@gnu.
> org] On Behalf Of Chip Seraphine
> Sent: Wednesday, October 05, 2005 8:38 AM
> To: Cfengine Mailing List Help
> Subject: Problems with variable expansion in 2.1.16
>
>
> OK, here's a nice clean test. The file /etc/location
> contains only the
> word "upstairs", and I am catting it and then echoing the results,
>
> This file:
>
> control:
> foo= ( /bin )
> bar= ( /etc )
> result= ( ExecResult(${foo}/cat ${bar}/location) )
> actionsequence= ( shellcommands )
>
> shellcommands:
> "/bin/echo $(result)"
>
> Run under 2.1.15:
>
> chip@mulva-10:32:19-/home/titan/chip$
> src/cfengine-2.1.15.Mandrake/src/cfagent -f ./cf.test
> cfengine::/bin/echo upsta: upstairs
> chip@mulva-10:32:21-/home/titan/chip$
>
> Run under 2.1.16:
>
> chip@mulva-10:34:49-/home/titan/chip$
> src/cfengine-2.1.16.linux/src/cfagent -f ./cf.test
> chip@mulva-10:34:52-/home/titan/chip$
>
> Obviously, something didn't fire. When run (2.1.16) with -v:
>
> Setting cfengine new port to 5308
> Setting cfengine old port to 5308
> Reference time set to Wed Oct 5 10:28:08 2005
>
> GNU Configuration Engine -
> 2.1.16
> Free Software Foundation 1994-
> Donated by Mark Burgess, Faculty of Engineering,
> Oslo University College, 0254 Oslo, Norway
>
> --------------------------------------------------------------
> ----------
>
> Host name is: mulva
> Operating System Type is linux
> Operating System Release is 2.6.8.1-24mdk
> Architecture = i686
>
>
> Using internal soft-class linux for host linux
>
> The time is now Wed Oct 5 10:28:08 2005
>
>
> --------------------------------------------------------------
> ----------
>
> Additional hard class defined as: 32_bit
> Additional hard class defined as: linux_2_6_8_1_24mdk
> Additional hard class defined as: linux_i686 Additional hard
> class defined as: linux_i686_2_6_8_1_24mdk Additional hard
> class defined as:
> linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST_2005
>
> GNU autoconf class from compile time: compiled_on_linux_gnu
>
> Address given by nameserver: 10.10.1.45
> Interface 1: lo
> Interface 2: eth0
> Trying to locate my IPv6 address
> Found IPv6 address addr:
> Found IPv6 address fe80::210:4bff:fe8c:f14e
> Found IPv6 address addr:
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
>
>
> Executing Net Preconfiguration script...cf.preconf
>
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> * (Changing context state to: main) *
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
> ---------------------------------------------------------------------
> Loading persistent classes
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Loaded persistent memory
> ---------------------------------------------------------------------
>
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
> Manually overidden relative path (./cf.test)
> Looking for an input file ./cf.test
> Finished with ./cf.test
>
> Accepted domain name: undefined.domain
>
>
> Defined Classes = ( 10_10_1 10_10_1_45 32_bit Day5 Hr10
> Hr10_Q2 Mandrake
> Min25_30 Min28 October Q2 Wednesday Yr2005 addr_ any cfengine_2
> cfengine_2_1 cfengine_2_1_16 compiled_on_linux_gnu
> fe80__210_4bff_fe8c_f14e i686 ipv4_10 ipv4_10_10 ipv4_10_10_1
> ipv4_10_10_1_45 linux linux_2_6_8_1_24mdk linux_i686
> linux_i686_2_6_8_1_24mdk
> linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST_2005 mandrake
> mandrake_10 mandrake_10_1 mulva net_iface_eth0 net_iface_lo )
>
> Negated Classes = ( )
>
> Installable classes = ( no_default_route )
>
> Global expiry time for locks: 120 minutes
>
> Global anti-spam elapse time: 1 minutes
>
> Extensions which should not be directories = ( )
> Suspicious filenames to be warned about = ( )
> LogDirectory = /var/cfengine
> Loaded /var/cfengine/ppkeys/localhost.priv
> Loaded /var/cfengine/ppkeys/localhost.pub
> Checksum database is /var/cfengine/checksum.db
> Reference time set to Wed Oct 5 10:28:08 2005
>
>
> *********************************************************************
> Main Tree Sched: shellcommands pass 1 @ Wed Oct 5 10:28:08 2005
> *********************************************************************
>
> cfengine:: Executing script /bin/echo
> -------------------------- Loading
> persistent classes
> --------------------------------------------------------------
> -------
> ---------------------------------------------------------------------
> Loaded persistent memory
> --------------------------------------------------------------
> -------
> Looking for environment from cfenvd... Unable to detect environment
> from cfenvd Manually overidden relative path (./cf.test)
> Looking for an
> input file ./cf.test cfengine...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine::/bin/echo -----: sh: -c: line 1: syntax error near
> unexpected
> token `('
> cfengine::/bin/echo -----: sh: -c: line 1: `/bin/echo
> -------------------------- Loading persistent classes
> --------------------------------------------------------------
> -------
> ---------------------------------------------------------------------
> Loaded persistent memory
> --------------------------------------------------------------
> -------
> Looking for environment from cfenvd... Unable to detect environment
> from cfenvd Manually overidden relative path (./cf.test)
> Looking for an
> input file ./cf.test cfengine'
> cfengine:: Finished script /bin/echo
> -------------------------- Loading
> persistent classes
> --------------------------------------------------------------
> -------
> ---------------------------------------------------------------------
> Loaded persistent memory
> --------------------------------------------------------------
> -------
> Looking for environment from cfenvd... Unable to detect environment
> from cfenvd Manually overidden relative path (./cf.test)
> Looking for an
> input file ./cf.test cfengine
> cfengine:: Nothing scheduled for [shellcommand./bin/echo
> Couldn't run
> /bin/cat cfengine] (0/1 minutes elapsed)
> cfengine:: Nothing scheduled for [shellcommand./bin/echo execv] (0/1
> minutes elapsed)
> cfengine:: Executing script /bin/echo No
> su...(timeout=0,uid=-1,gid=-1) (Setting umask to 77)
> cfengine::/bin/echo No s: No su
> cfengine:: Finished script /bin/echo No su
> ---------------------------------------------------------------------
> Alerts
> ---------------------------------------------------------------------
>
>
>
> ++++++++++++++++++++++++++++++++++++++++
> Summary of objects involved
> ++++++++++++++++++++++++++++++++++++++++
>
> global
> main
>
>
>
> You can see the gratuitous 'cfengine' thrown into the
> variable expansion.
>
> It is a little clearer under -d2:
>
> chip@mulva-10:35:46-/home/titan/chip$
> src/cfengine-2.1.16.linux/src/cfagent -d2 -f ./cf.test
> ddInstallable(no_default_route)
> Appending [no_default_route]
> Setting cfengine new port to 5308
> Setting cfengine old port to 5308
> Reference time set to Wed Oct 5 10:36:00 2005
>
> AddClassToHeap(Wednesday)
> Appending [Wednesday]
> AddClassToHeap(Hr10)
> Appending [Hr10]
> AddClassToHeap(Min36)
> Appending [Min36]
> AddClassToHeap(Min35_40)
> Appending [Min35_40]
> AddClassToHeap(Q3)
> Appending [Q3]
> AddClassToHeap(Hr10_Q3)
> Appending [Hr10_Q3]
> AddClassToHeap(Day5)
> Appending [Day5]
> AddClassToHeap(October)
> Appending [October]
> AddClassToHeap(Yr2005)
> Appending [Yr2005]
> Job start time set to Wed Oct 5 10:36:00 2005
>
> GetNameInfo()
> AddClassToHeap(linux)
> Appending [linux]
> AddClassToHeap(mulva)
> Appending [mulva]
> AddClassToHeap(mulva)
> AddClassToHeap(undefined_domain)
> Appending [undefined_domain]
> Deleted item undefined_domain
> AddClassToHeap(mulva)
> GNU Configuration Engine -
> 2.1.16
> Free Software Foundation 1994-
> Donated by Mark Burgess, Faculty of Engineering,
> Oslo University College, 0254 Oslo, Norway
>
> --------------------------------------------------------------
> ----------
>
> Host name is: mulva
> Operating System Type is linux
> Operating System Release is 2.6.8.1-24mdk
> Architecture = i686
>
>
> Using internal soft-class linux for host linux
>
> The time is now Wed Oct 5 10:36:00 2005
>
>
> --------------------------------------------------------------
> ----------
>
> AddClassToHeap(32_bit)
> Appending [32_bit]
> Additional hard class defined as: 32_bit
> AddClassToHeap(linux_2_6_8_1_24mdk)
> Appending [linux_2_6_8_1_24mdk]
> AddClassToHeap(i686)
> Appending [i686]
> Additional hard class defined as: linux_2_6_8_1_24mdk
> AddClassToHeap(linux_i686)
> Appending [linux_i686]
> Additional hard class defined as: linux_i686
> AddClassToHeap(linux_i686_2_6_8_1_24mdk)
> Appending [linux_i686_2_6_8_1_24mdk]
> Additional hard class defined as: linux_i686_2_6_8_1_24mdk
> AddClassToHeap(linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00
> _MST_2005)
> Appending [linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST_2005]
> Additional hard class defined as:
> linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST_2005
> AddClassToHeap(compiled_on_linux_gnu)
> Appending [compiled_on_linux_gnu]
>
> GNU autoconf class from compile time: compiled_on_linux_gnu
>
> Address given by nameserver: 10.10.1.45
> GetInterfaceInfo()
> Interface 1: lo
> AddClassToHeap(net_iface_lo)
> Appending [net_iface_lo]
> Interface 2: eth0
> AddClassToHeap(net_iface_eth0)
> Appending [net_iface_eth0]
> Adding hostip 10.10.1.45..
> AddClassToHeap(10_10_1_45)
> Appending [10_10_1_45]
> Adding hostname mulva..
> AddClassToHeap(mulva)
> Appending [10.10.1.45]
> AddClassToHeap(10_10_1)
> Appending [10_10_1]
> AddClassToHeap(ipv4_10_10_1_45)
> Appending [ipv4_10_10_1_45]
> AddMacroValue(global.ipv4[eth0]=10.10.1.45)
> ExpandVarstring(10.10.1.45)
> Added Macro at hash address 1834 to object global with value
> ipv4[eth0]=10.10.1.45
> AddClassToHeap(ipv4_10_10_1)
> Appending [ipv4_10_10_1]
> AddClassToHeap(ipv4_10_10)
> Appending [ipv4_10_10]
> AddClassToHeap(ipv4_10)
> Appending [ipv4_10]
> Trying to locate my IPv6 address
> cfpopen(/sbin/ifconfig -a)
> SplitStringAsItemList( inet6 addr:
> fe80::210:4bff:fe8c:f14e/64
> Scope:Link
> , )
> Appending [inet6]
> Appending [addr:]
> Appending [fe80::210:4bff:fe8c:f14e/64]
> Appending [Scope:Link
> ]
> IsIPV6Address(inet6)
> IsIPV6Address(addr:)
> Found IPv6 address addr:
> Appending [addr:]
> AddClassToHeap(addr_)
> Appending [addr_]
> IsIPV6Address(fe80::210:4bff:fe8c:f14e)
> Found IPv6 address fe80::210:4bff:fe8c:f14e
> Appending [fe80::210:4bff:fe8c:f14e]
> AddClassToHeap(fe80__210_4bff_fe8c_f14e)
> Appending [fe80__210_4bff_fe8c_f14e]
> IsIPV6Address(Scope:Link
> )
> SplitStringAsItemList( inet6 addr: ::1/128 Scope:Host
> , )
> Appending [inet6]
> Appending [addr:]
> Appending [::1/128]
> Appending [Scope:Host
> ]
> IsIPV6Address(inet6)
> IsIPV6Address(addr:)
> Found IPv6 address addr:
> Appending [addr:]
> AddClassToHeap(addr_)
> IsIPV6Address(::1)
> Looks more like a MAC addressIsIPV6Address(Scope:Host
> )
> cfpclose(pp)
> cfpopen - Waiting for process 18252
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
> cfengine:: No preconfiguration file
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> * (Changing context state to: main) *
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
> ---------------------------------------------------------------------
> Loading persistent classes
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Loaded persistent memory
> ---------------------------------------------------------------------
>
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
> New Parser Object::Manually overidden relative path
> (./cf.test) (BEGIN PARSING ./cf.test) Looking for an input
> file ./cf.test
>
> ##############################################################
> ############
> # BEGIN PARSING ./cf.test
> ##############################################################
> ############
>
> RecordMacroId(foo)
> ExpandVarstring(/bin)
> AddMacroValue(main.foo=/bin)
> ExpandVarstring(/bin)
> Added Macro at hash address 3811 to object main with value foo=/bin
> RecordMacroId(bar)
> ExpandVarstring(/etc)
> AddMacroValue(main.bar=/etc)
> ExpandVarstring(/etc)
> Added Macro at hash address 2983 to object main with value bar=/etc
> RecordMacroId(result)
> HandleFunctionObject(ExecResult(${foo}/cat ${bar}/location))
> IsBuiltinFunction(ExecResult(${foo}/cat ${bar}/location))
> IsBuiltinFunction: ExecResult(${foo}/cat ${bar}/location)
> HandleFunction: ExecResult(${foo}/cat ${bar}/location)
> FunctionStringToCode(ExecResult)
> cfpopen(${foo}/cat ${bar}/location)
> GetExecOutput got: [cfengine:: Couldn't run ${foo}/cat
> cfengine:: execv:
> No such file or directory]
> cfpclose(pp)
> cfpopen - Waiting for process 18253
> ExpandVarstring(cfengine:: Couldn't run ${foo}/cat cfengine::
> execv: No
> such file or directory)
> Returning substring value foo
> Scanning variable foo
> GetMacroValue(main,foo)
> Expansion gave (cfengine:: Couldn't run /bin)
> AddMacroValue(main.result=cfengine:: Couldn't run /bin/cat cfengine::
> execv: No such file or directory)
> ExpandVarstring(cfengine:: Couldn't run /bin/cat cfengine:: execv: No
> such file or directory)
> Added Macro at hash address 2986 to object main with value
> result=cfengine:: Couldn't run /bin/cat cfengine:: execv: No
> such file
> or directory
> ExpandVarstring(shellcommands)
> Appending [shellcommands]
> SplitVarstring(/bin/echo ,:=58)
> Found 0 variables in (/bin/echo )
> Appending [/bin/echo ]
> SplitVarstring($(result),:=58)
> Found 1 variables in ($(result))
> ExtractOuterVarString($(result)) - syntax verify
> Extracted outer variable $(result)
> ExpandVarstring($(result))
> Returning substring value result
> Scanning variable result
> GetMacroValue(main,result)
> Expansion gave (cfengine:: Couldn't run /bin/cat cfengine:: execv: No
> such file or directory)
> EXPAND $(result) -> cfengine:: Couldn't run /bin/cat
> cfengine:: execv:
> No such file or directory
> Appending [cfengine]
> Appending [ Couldn't run /bin/cat cfengine]
> Appending [ execv]
> Appending [ No such file or directory]
> AddInstallable()
> AddInstallable()
> AddInstallable()
> AddInstallable()
> AddInstallable()
> AddInstallable()
> AddInstallable()
> AddInstallable()
> Delete Parser Object::(END OF PARSING ./cf.test)
> Finished with ./cf.test
>
> Accepted domain name: undefined.domain
>
> GetMacroValue(main,OutputPrefix)
>
> Defined Classes = ( 10_10_1 10_10_1_45 32_bit Day5 Hr10
> Hr10_Q3 Mandrake
> Min35_40 Min36 October Q3 Wednesday Yr2005 addr_ any cfengine_2
> cfengine_2_1 cfengine_2_1_16 compiled_on_linux_gnu
> fe80__210_4bff_fe8c_f14e i686 ipv4_10 ipv4_10_10 ipv4_10_10_1
> ipv4_10_10_1_45 linux linux_2_6_8_1_24mdk linux_i686
> linux_i686_2_6_8_1_24mdk
> linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST_2005 mandrake
> mandrake_10 mandrake_10_1 mulva net_iface_eth0 net_iface_lo
> opt_debug )
>
> Negated Classes = ( )
>
> Installable classes = ( no_default_route )
>
> Global expiry time for locks: 120 minutes
>
> Global anti-spam elapse time: 1 minutes
>
> Extensions which should not be directories = ( )
> Suspicious filenames to be warned about = ( )
>
> Fully qualified hostname is: mulva
> Unqualified hostname is:
>
> System administrator mail address is:
> Sensible size = 1000
> Sensible count = 2
> Edit File (Max) Size = 10000
>
> Edit Binary File (Max) Size = 10000000
>
> ------------------------------------------------------------
>
> DEFINED INTERFACES
>
> ------------------------------------------------------------
>
> Defined Binservers = ( mulva )
> ------------------------------------------------------------
>
> Defined home servers = ( )
> ------------------------------------------------------------
>
> Defined wildcards to match home directories = ( )
> ------------------------------------------------------------
>
> Action sequence = (shellcommands )
>
> Will need to copy from the following trusted sources = ( )
>
> Using mailserver
>
> Local mountpoints:
>
> File repository =
>
>
> Net interface name = eth0
> ------------------------------------------------------------
>
> DEFINED MACRO/VARIABLES (by contexts)
>
> OBJECT: global
> 1834 : ipv4[eth0]=10.10.1.45
>
> OBJECT: main
> 2983 : bar=/etc
> 2986 : result=cfengine:: Couldn't run /bin/cat cfengine::
> execv: No
> such file or directory
> 3811 : foo=/bin
> ------------------------------------------------------------
>
> DEFINED ALERTS
>
> ------------------------------------------------------------
>
> DEFINED STRATEGIES
>
> ------------------------------------------------------------
>
> DEFINED NAMESERVERS
>
> ------------------------------------------------------------
>
> DEFINED REQUIRE
>
> ------------------------------------------------------------
>
> DEFINED MOUNTABLES
>
> ------------------------------------------------------------
>
> DEFINED MISC MOUNTABLES
>
> ------------------------------------------------------------
>
> DEFINED UNMOUNTS
>
> ------------------------------------------------------------
>
> DEFINED DIRECTORIES
>
> ------------------------------------------------------------
>
> DEFINED IMPORTS
>
> ------------------------------------------------------------
>
> DEFINED FILES
>
> ------------------------------------------------------------
>
> DEFINED ACCESS CONTROL LISTS
>
> ------------------------------------------------------------
>
> DEFINED FILTERS
> ------------------------------------------------------------
>
> DEFINED IGNORE
>
> ------------------------------------------------------------
>
> DEFINED FILE EDITS
>
> ------------------------------------------------------------
>
> DEFINED PROCESSES
>
>
> ------------------------------------------------------------
>
> DEFINED FILE IMAGES
>
> ------------------------------------------------------------
>
> DEFINED TIDY MASKS
>
> ------------------------------------------------------------
>
> DEFINED DISABLE
>
> ------------------------------------------------------------
>
> DEFINED LINKS
>
> ------------------------------------------------------------
>
> DEFINED CHILD LINKS
>
> ------------------------------------------------------------
>
> DEFINED SHELLCOMMANDS
>
>
> SHELLCOMMAND /bin/echo cfengine
> timeout=0
> uid=-1,gid=-1
> umask = 77, background = n
> ChDir=, ChRoot=
> IfElapsed=1, ExpireAfter=120
> Define
> ElseDefine
> Classes any
>
> SHELLCOMMAND /bin/echo Couldn't run /bin/cat cfengine
> timeout=0 uid=-1,gid=-1 umask = 77, background = n ChDir=,
> ChRoot= IfElapsed=1, ExpireAfter=120 Define ElseDefine Classes any
>
> SHELLCOMMAND /bin/echo execv
> timeout=0
> uid=-1,gid=-1
> umask = 77, background = n
> ChDir=, ChRoot=
> IfElapsed=1, ExpireAfter=120
> Define
> ElseDefine
> Classes any
>
> SHELLCOMMAND /bin/echo No such file or directory
> timeout=0
> uid=-1,gid=-1
> umask = 77, background = n
> ChDir=, ChRoot=
> IfElapsed=1, ExpireAfter=120
> Define
> ElseDefine
> Classes any
> ------------------------------------------------------------
>
> DEFINED PACKAGE CHECKS
>
>
> ------------------------------------------------------------
>
> DEFINED METHODS
>
> ------------------------------------------------------------
> GetMacroValue(main,SyslogFacility)
>
>
> cfagent -d : Debugging output enabled.
> GetMacroValue(main,LockDirectory)
> GetMacroValue(main,LogDirectory)
> LogDirectory = /home/titan/chip/.cfagent
> Loaded /home/titan/chip/.cfagent/ppkeys/localhost.priv
> Loaded /home/titan/chip/.cfagent/ppkeys/localhost.pub
> GetMacroValue(main,childlibpath)
> GetMacroValue(main,BindToInterface)
> GetMacroValue(main,MaxCfengines)
> OptionIs(main,SkipIdentify,1)
> GetMacroValue(main,SkipIdentify)
> OptionIs(main,Verbose,1)
> GetMacroValue(main,Verbose)
> OptionIs(main,LastSeen,0)
> GetMacroValue(main,LastSeen)
> OptionIs(main,Inform,1)
> GetMacroValue(main,Inform)
> OptionIs(main,Exclamation,0)
> GetMacroValue(main,Exclamation)
> OptionIs(main,Syslog,1)
> GetMacroValue(main,Syslog)
> OptionIs(main,DryRun,1)
> GetMacroValue(main,DryRun)
> GetMacroValue(main,BinaryPaddingChar)
> OptionIs(main,Warnings,1)
> GetMacroValue(main,Warnings)
> OptionIs(main,NonAlphaNumFiles,1)
> GetMacroValue(main,NonAlphaNumFiles)
> OptionIs(main,SecureInput,1)
> GetMacroValue(main,SecureInput)
> OptionIs(main,ShowActions,1)
> GetMacroValue(main,ShowActions)
> GetMacroValue(main,Umask)
> GetMacroValue(main,DefaultCopyType)
> GetMacroValue(main,ChecksumDatabase)
> Checksum database is /home/titan/chip/.cfagent/checksum.db
> GetMacroValue(main,CompressCommand)
> OptionIs(main,ChecksumUpdates,1)
> GetMacroValue(main,ChecksumUpdates)
> GetMacroValue(main,TimeOut)
> GetMacroValue(main,SplayTime)
> OptionIs(main,LogTidyHomeFiles,0)
> GetMacroValue(main,LogTidyHomeFiles)
> Reference time set to Wed Oct 5 10:36:00 2005
>
> Job start time set to Wed Oct 5 10:36:00 2005
>
>
> *********************************************************************
> Main Tree Sched: shellcommands pass 1 @ Wed Oct 5 10:36:00 2005
> *********************************************************************
>
> (BuildClassEnvironment)
>
> (Non privileged user...)
>
> ---
> ENVIRONMENT:
> CFALLCLASSES=10_10_1:10_10_1_45:32_bit:Day5:Hr10:Hr10_Q3:Mandr
> ake:Min35_40:Min36:October:Q3:Wednesday:Yr2005:addr_:any:cfeng
> ine_2:cfengine_2_1:cfengine_2_1_16:compiled_on_linux_gnu:fe80_
> _210_4bff_fe8c_f14e:i686:ipv4_10:ipv4_10_10:ipv4_10_10_1:ipv4_
> 10_10_1_45:linux:linux_2_6_8_1_24mdk:linux_i686:linux_i686_2_6
> _8_1_24mdk:linux_i686_2_6_8_1_24mdk__1_Fri_Jan_14_03_01_00_MST
> _2005:mandrake:mandrake_10:mandrake_10_1:mulva:net_iface_eth0:
> net_iface_lo:opt_debug:
> ---
> Actionsequence item shellcommands
> ExpandVarstring(/bin/echo cfengine)
> GetLock(shellcommand,/bin/echo cfengine,time=1128526560),
> ExpireAfter=120, IfElapsed=1
> GetLastLock()
> CheckOldLock(lock.__cf_test..shellcommand._bin_echo_cfengine_3365)
> Unable to find lock data
> lock.__cf_test..shellcommand._bin_echo_cfengine_3365
> SetLock(lock.__cf_test..shellcommand._bin_echo_cfengine_3365)
> PutLock(lock.__cf_test..shellcommand._bin_echo_cfengine_3365)
> Found no lock [lock.__cf_test..shellcommand._bin_echo_cfengine_3365]:
> DB_NOTFOUND: No matching key/data pair found
> cfengine:: Executing script /bin/echo
> cfengine...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfpopen(/bin/echo cfengine)
> cfengine::/bin/echo cfeng: cfengine
> cfpclose_def(pp)
> cfpopen_def - Waiting for process 18254
> cfengine:: Finished script /bin/echo cfengine
> ReleaseCurrentLock(lock.__cf_test..shellcommand._bin_echo_cfen
> gine_3365)
> PutLock(last.__cf_test..shellcommand._bin_echo_cfengine_3365)
> LockLog(Lock removed normally )
> ExpandVarstring(/bin/echo Couldn't run /bin/cat cfengine)
> GetLock(shellcommand,/bin/echo Couldn't run /bin/cat
> cfengine,time=1128526560), ExpireAfter=120, IfElapsed=1
> GetLastLock()
> CheckOldLock(lock.__cf_test..shellcommand._bin_echo__Couldn_t_
> run__bin_cat_cfengine_4292)
> Unable to find lock data
> lock.__cf_test..shellcommand._bin_echo__Couldn_t_run__bin_cat_
> cfengine_4292
> SetLock(lock.__cf_test..shellcommand._bin_echo__Couldn_t_run__
> bin_cat_cfengine_4292)
> PutLock(lock.__cf_test..shellcommand._bin_echo__Couldn_t_run__
> bin_cat_cfengine_4292)
> Found no lock
> [lock.__cf_test..shellcommand._bin_echo__Couldn_t_run__bin_cat
> _cfengine_4292]:
> DB_NOTFOUND: No matching key/data pair found
> cfengine:: Executing script /bin/echo Couldn't run /bin/cat
> cfengine...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfpopen(/bin/echo Couldn't run /bin/cat cfengine)
> cfengine::/bin/echo Coul: sh: -c: line 1: unexpected EOF
> while looking
> for matching `''
> cfengine::/bin/echo Coul: sh: -c: line 2: syntax error:
> unexpected end
> of file
> cfpclose_def(pp)
> cfpopen_def - Waiting for process 18255
> Child returned status 512
> cfengine:: Finished script /bin/echo Couldn't run /bin/cat cfengine
> ReleaseCurrentLock(lock.__cf_test..shellcommand._bin_echo__Cou
ldn_t_run__bin_cat_cfengine_4292)
> PutLock(last.__cf_test..shellcommand._bin_echo__Couldn_t_run__
> bin_cat_cfengine_4292)
> LockLog(Lock removed normally )
> ExpandVarstring(/bin/echo execv)
> GetLock(shellcommand,/bin/echo execv,time=1128526560),
> ExpireAfter=120,
> IfElapsed=1
> GetLastLock()
> CheckOldLock(lock.__cf_test..shellcommand._bin_echo__execv_1185)
> Unable to find lock data
> lock.__cf_test..shellcommand._bin_echo__execv_1185
> SetLock(lock.__cf_test..shellcommand._bin_echo__execv_1185)
> PutLock(lock.__cf_test..shellcommand._bin_echo__execv_1185)
> Found no lock [lock.__cf_test..shellcommand._bin_echo__execv_1185]:
> DB_NOTFOUND: No matching key/data pair found
> cfengine:: Executing script /bin/echo
> execv...(timeout=0,uid=-1,gid=-1) (Setting umask to 77)
> cfpopen(/bin/echo execv) cfengine::/bin/echo exec: execv
> cfpclose_def(pp)
> cfpopen_def - Waiting for process 18256
> cfengine:: Finished script /bin/echo execv
> ReleaseCurrentLock(lock.__cf_test..shellcommand._bin_echo__execv_1185)
> PutLock(last.__cf_test..shellcommand._bin_echo__execv_1185)
> LockLog(Lock removed normally )
> ExpandVarstring(/bin/echo No such file or directory)
> GetLock(shellcommand,/bin/echo No such file or
> directory,time=1128526560), ExpireAfter=120, IfElapsed=1
> GetLastLock()
> CheckOldLock(lock.__cf_test..shellcommand._bin_echo__No_such_f
> ile_or_directory_3744)
> Unable to find lock data
> lock.__cf_test..shellcommand._bin_echo__No_such_file_or_directory_3744
> SetLock(lock.__cf_test..shellcommand._bin_echo__No_such_file_o
> r_directory_3744)
> PutLock(lock.__cf_test..shellcommand._bin_echo__No_such_file_o
> r_directory_3744)
> Found no lock
> [lock.__cf_test..shellcommand._bin_echo__No_such_file_or_direc
> tory_3744]:
> DB_NOTFOUND: No matching key/data pair found
> cfengine:: Executing script /bin/echo No such file or
> directory...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfpopen(/bin/echo No such file or directory)
> cfengine::/bin/echo No s: No such file or directory
> cfpclose_def(pp)
> cfpopen_def - Waiting for process 18257
> cfengine:: Finished script /bin/echo No such file or directory
> ReleaseCurrentLock(lock.__cf_test..shellcommand._bin_echo__No_
such_file_or_directory_3744)
> PutLock(last.__cf_test..shellcommand._bin_echo__No_such_file_o
> r_directory_3744)
> LockLog(Lock removed normally )
> Job start time set to Wed Oct 5 10:36:00 2005
>
> Job start time set to Wed Oct 5 10:36:00 2005
>
> Job start time set to Wed Oct 5 10:36:00 2005
>
> ---------------------------------------------------------------------
> Alerts
> ---------------------------------------------------------------------
>
> OptionIs(main,ChecksumPurge,1)
> GetMacroValue(main,ChecksumPurge)
>
>
> ++++++++++++++++++++++++++++++++++++++++
> Summary of objects involved
> ++++++++++++++++++++++++++++++++++++++++
>
> global
> main
> chip@mulva-10:36:00-/home/titan/chip$
>
>
>
> Hope this is useful. I am very interested in knowing if
> anyone else can
> reproduce this; I can do so easily on my Solaris or on my
> Linux machines.
>
>
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-> cfengine
>