[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfengine horror stories

From: Marion Hakanson
Subject: Re: cfengine horror stories
Date: Tue, 03 Dec 2002 18:27:55 -0800

> On Thu, Nov 28, 2002 at 07:58:18AM +0100, address@hidden wrote:
> > 
> > I see .. I managed to type an exta semi-colon at the end of the line. Wor=
> ks
> > fine on my compiler, but apparently not on yours. Just delete the extra
> > semi-colon from line 199 in src/varstring.
> I'm running 2.0.5pre2 on three test hosts - solaris/sparc, linux/sparc
> and linux/x86 without any problems. Thanks for the fix Mark.
> --
> Nate Campi   http://www.campin.net=20

I'm having trouble with imports using 2.0.5pre2 in Solaris-9.  It looks
like some buffer is not getting cleared out, so later strings end up
with the tail end of shorter strings appended:

  BEGIN NEW ACTION Import files:
  simple item = (cf.globaldefs)
  >>Installing item (cf.globaldefs) in the import list
  Appending [cf.globaldefs]
  simple item = (cf.update)
  >>Installing item (cf.update) in the import list
  Appending [cf.updatedefs]
     (No actions pending in Import files:)
  Import file cf.globaldefs
  BEGIN PARSING /var/opt/TWWfsw/cfengine205/inputs/cf.globaldefs
     (No actions pending in Import files:)
  . . .
     (No actions pending in Groups:)
  Import file cf.updatedefs
  franklin: Can't open file /var/opt/TWWfsw/cfengine205/inputs/cf.updatedefs

Note in particular these two lines:

  >>Installing item (cf.update) in the import list
  Appending [cf.updatedefs]

There's evidence in the debug output of macro values getting the same
treatment.  I wonder if the fix to ExpandVarstring() is causing this
problem, and/or if it's interacting with the Solaris-9 compiler somehow.

Has anyone else seen this?


Marion Hakanson <address@hidden>
CSE Computing Facilities

reply via email to

[Prev in Thread] Current Thread [Next in Thread]