3.0.0p2: oddities with copying files

Jim Wight <[email protected]> Sat, 10 Jan 2009 11:47:49 +0000
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <EMEW-l09Blna9fe0630ae84fbf7ab0f6b28837b5d50-49688AE5.4080505@ncl.ac.uk>
I've got this simple copy configuration:

bundle agent copy
{
files:
    "/tmp/testfile"
       copy_from => mycopy("/tmp/testfile", "xxx.ncl.ac.uk");
}

body copy_from mycopy(from,server)
{
source => "$(from)";
servers => { "$(server)" };
}

The file gets copied OK, despite the server (with -v) saying:

cf3 Host yyy.ncl.ac.uk granted access to /tmp/testfile
cf3 Found a matching rule in access list (/tmp/testfile in /tmp)
cf3 File /tmp requires encrypt connection...will not serve
cf3 Host yyy.ncl.ac.uk denied access to /tmp/testfile

Also, at the client end, an empty /tmp/testfile./tmp gets created (as well as 
the copied file, testfile).

Jim