help-cfengine
[Top][All Lists]
Advanced

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

problems with cfengine


From: Gintautas Grigelionis
Subject: problems with cfengine
Date: Thu, 5 Dec 2002 18:39:39 +0100 (MET)

Hello,

I'd very much appreciate your help with a couple of annoyances that
I've noticed in cfengine 1.6.5 (I know, 2.0.x has been released, but
still I see patches for 1.6.x out there).

Brokedness # 1 is that Backup in editfiles: doesn't work (in fact,
never worked, afaik). That is,

editfiles:

any::

{ /etc/mail/sendmail.cf
        Backup "false"
        DefineClasses "UPDATE_SMTP"
        ReplaceAll "mumbo" With "jumbo"
}

yields

cfengine:rizzo: Unknown action in editing of file /etc/mail/sendmail.cf

and a /etc/mail/sendmail.cf.cfsaved

Brokedness # 2 has appeared in 1.6.4, I believe (related to secure
traversal of the file tree?)

If I specify

   mountpattern = ( /export/ )
   homepattern = ( u? )

and follow the example in cf.users

ignore:

        TT_DB

files:

homeserver::

        home/.rhosts    o=root  act=warnall inform=true
        home/.rhosts    m=0600  act=fixplain

I get

cfengine:rizzo: Could not change to directory /export/u1/gintas/.rhosts, mode 
600 in tidy
cfengine:rizzo: Can't stat in recursive file check
cfengine:rizzo: stat: No such file or directory
cfengine:rizzo: Could not change to directory /export/u1/TT_DB/.rhosts, mode 
4400 in tidy
cfengine:rizzo: Can't stat in recursive file check
cfengine:rizzo: stat: No such file or directory

i.e., cfengine believes .rhosts must be a directory that is _always_
there, and it reports a bogus mode if the file doesn't exist. I've
noticed that documentation on home directive says it can only be used
to specify directories, but that clearly contradicts the
cf.users.example

Besides, it seems reasonable to include TT_DB in VSKIPFILES directly
since there seems to be no mechanism to set ignore: for the
directories/files in $(mountpattern)/$(homepattern), i.e. the ignore:
list above is for directories/files in $(mountpattern)/$(homepattern)/*
filtered through VSKIPFILES.

Thanks in advance,

Gintas Grigelionis




reply via email to

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