bug-cfengine
[Top][All Lists]
Advanced

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

Problems with 2.0.3


From: Daniel Riek
Subject: Problems with 2.0.3
Date: Fri, 5 Jul 2002 16:06:42 +0200
User-agent: Mutt/1.3.28i

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);

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.


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).

Regards,

Daniel


-- 
Daniel Riek <address@hidden>   -    http://www.alcove.com/de/
* Technical Manager                -    Tel.:   +49 (0)2 28 / 9 08 69 85
* ALCOVE Deutschland GmbH          -    Fax:    +49 (0)2 28 / 9 08 69 84
* Liberating Software              -    Mobil:  +49 (0)1 71 / 2 80 08 79




reply via email to

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