bug-cfengine
[Top][All Lists]
Advanced

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

Bug#302318: cfengine2: cfagent error with "EndLoop without ForEachLineIn


From: Morten Werner Olsen
Subject: Bug#302318: cfengine2: cfagent error with "EndLoop without ForEachLineIn" when ForEachLineIn exits
Date: Thu, 31 Mar 2005 12:19:00 +0200
User-agent: Mutt/1.5.6i

forwarded 302318 address@hidden
thanks

Hi,

here is a bug report from one of the Debian users.


- Werner

On Thu, Mar 31, 2005 at 10:20:49AM +0100, Gilbert Laycock wrote:

> Package: cfengine2
> Version: 2.1.13-1
> Severity: normal
> 
> Following the recent upgrade to 2.1.13 I find that code like the
> following has stopped working:
> 
>       { /etc/fstab
>               IfElapsed 9999
>               BeginGroupIfNoSuchLine  "# cfengine - 2004-11-25"
>                 DeleteLinesMatching   "^/dev/fd0[     ]+/floppy[      ]+.*$"
>                 DeleteLinesMatching   "^/dev/hdc[     ]+/cdrom[       ]+.*$"
>                 DeleteLinesMatching   "^/dev/sda[0-9]*[       ]+.*$"
>                 ForEachLineIn         "/etc/mcs-misc/fstab.extra"
>                   AppendIfNoLineMatching "ThisLine"
>                 EndLoop
>               EndGroup
>       }
> 
> resulting in error message:
> 
> cf:cfengine::/var/lib/cfengine2/inputs/cfagent.conf:726: EndLoop without 
> ForEachLineIn
> Finished with cfagent.conf
> 
> 
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (777, 'testing'), (33, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.10-ac12.piv
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> 
> Versions of packages cfengine2 depends on:
> ii  debconf                     1.4.30.11    Debian configuration management 
> sy
> ii  debianutils                 2.8.4        Miscellaneous utilities specific 
> t
> ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries 
> an
> ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries 
> [
> ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
> ii  perl                        5.8.4-8      Larry Wall's Practical 
> Extraction 
> 
> -- debconf information:
> * cfengine2/run_cfservd: false
> * cfengine2/run_cfenvd: false
> * cfengine2/run_cfexecd: false




reply via email to

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