bug-cfengine
[Top][All Lists]
Advanced

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

Re: Problems with 2.0.3


From: Mark . Burgess
Subject: Re: Problems with 2.0.3
Date: Thu, 1 Aug 2002 10:53:31 +0200 (MET DST)

On  5 Jul, Daniel Riek wrote:
> Hi. 
> 
> I depolyed 2.0.3 at our site and found some Problems. I do not know, if
> these are already know...
> 
> "cfagent --update-only" option is not accepted becaus it is missing in
> cfagent.c getops-call. Here is a patch:
> 
> diff -Nru cfengine-2.0.3.orig/src/cfagent.c cfengine-2.0.3/src/cfagent.c
> --- cfengine-2.0.3.orig/src/cfagent.c   Thu Jun 20 19:22:07 2002
> +++ cfengine-2.0.3/src/cfagent.c        Tue Jul  2 16:05:01 2002
> @@ -1418,7 +1418,7 @@
>    int optindex = 0;
>    int c;
> 
> -while 
> ((c=getopt_long(argc,argv,"bzMgAbKqkhYHd:vlniIf:pPmcCtsSaeEVD:N:LwxXuU",OPTIONS,&optindex))
>  != EOF)
> +while 
> ((c=getopt_long(argc,argv,"bzMgAbKqkhYHd:vlniIf:pPmcCtsSaeEVD:N:LwxXuUB",OPTIONS,&optindex))
>  != EOF)
>    {
>    switch ((char) c)
>        {
> @@ -1569,6 +1569,9 @@
>        case 'Y': CFPARANOID = true;
>                 break;
> 
> +      case 'B': UPDATEONLY = true;
> +               break;
> +
>        default:  Syntax();
>                  exit(1);
> 


Fixed in 2.0.4

> Using hostnames in cfservd.conf access granting causes an error message
> on ipranges:
> 
> admit:
>   /export/directory   host1.mydomain
> 
> won't work anymore (2.0.1 had no problems) while
> 
> admit:
>   /export/directory   192.168.13.13
> 
> works. And even
> 
> admit:
>   /export/directory   *.mydomain
> 
> works.


I believe this to be fixed also - but please let me know when
2.0.4 comes.

> 
> One thing where I do not know if it is an error or a missunderstanding:
> I found no way to exclude a subdirectory (in this case CVS) from a copy.
> I expected an "exclude=CVS/" to exclude every subdirectory called "CVS"
> in my recurisve copy...
> BTW: The reason for excluding CVS was a errormessage by cfservd, that it
> was not possible to encrypt files smaller than xx bytes (I think it was
> 12 but I am not sure about it. - Makes sense anyway).

Just get rid of the trailing / on CVS/. I have added a check to
strip this off in 2.0.4, but the reason this doesn't work is that
the directory's name is CVS, not CVS/

M


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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