bug-cfengine
[Top][All Lists]
Advanced

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

"home" copy bug


From: Robert Shaw
Subject: "home" copy bug
Date: Mon, 05 Feb 2001 16:08:20 -0700

Mark,

I think I've found a bug with the cfd copy of a file whose destination
is a home directory. If I have the following:

$(goldcommon)/home/user/.cshrc            dest=home/.cshrc
                                          server=$(goldserver)
                                          mode=0555

I get the following error from any client that isn't the $(goldserver):

cf:arizona2: Master file /export/hostcfg/files/common/home/user/.cshrc
doesn't exist for copying

The data is on the server where is should be, I checked. Plus, it copies
just fine on the $(goldserver) where the actual data resides or if I
change the destination to something other than the "home" wildcard, it
copies fine from all hosts. So that's proof that the files are where
they are supposed to be.

I'm pretty sure this is a bug, as I can't seem to get it to work at all
from anything but the main server. I suspect a problem in the
CheckHomeImages code. Can you please look at this? I really need to get
this fixed, or at least have a work-around.

Specs:
cfengine 1.6.2
Solaris 2.6 on a Sparc

Also, in addition to this, I noticed that you have all "home" wildcard
actions NOT put files in the repository. I have a repository defined,
and I'd like to be able to have all files goto the repository regardless
of whether or not I use the "home" wildcard. Is there an option I can
use, or that can be added to allow this? I'd really appreciate it. This
isn't as urgent, as the workaround is to "tidy" any of the ".cfsaved"
files, but that requires an extra step and more processing time that
could be avoided.

Thanks!!!
-Robert




reply via email to

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