[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'linktype=copy' fails
From: |
Enrico Scholz |
Subject: |
'linktype=copy' fails |
Date: |
Sat, 03 Mar 2007 13:01:14 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (linux) |
Hello,
there seem to be problems with 'linktype=copy'. When having a
'cfagent.conf' like
| control:
| actionsequence = ( copy )
| copy:
| /home/ensc/tmp/cf/data/foo/link dest=/tmp/link server=kosh
| linktype=copy
and a directory layout like
| /home/ensc/tmp/cf/data/
| |-- bar
| | `-- termcap
| `-- foo
| `-- link -> ../bar/termcap
(.../bar/termcap is the 800KiB sized copy of /etc/termcap), 'cfagent'
runs seems to succeed with:
| address@hidden cf]$ CFINPUTS=`pwd` /usr/sbin/cfagent -b -qKI
| cfengine:kosh: Update of image /tmp/link from master
/home/ensc/tmp/cf/data/foo/link on kosh
| cfengine:kosh: Object /tmp/link had permission 600, changed it to 777
| address@hidden cf]$
but the 'cfservd -Fvvvvv' server reports
| cfservd: Host kosh.bigo.ensc.de granted access to
/home/ensc/tmp/cf/data/foo/link
| cfservd: Host kosh.bigo.ensc.de granted access to
/home/ensc/tmp/cf/data/foo/link
| cfservd: Couldn't send
| cfservd: send
| cfservd: Send failed in GetFile
| cfservd: send
and the result is a very short and corrupted file:
| address@hidden cf]$ ls -l /tmp/link data/bar/termcap
| -rwxrwxrwx 1 ensc ensc 14 3. Mär 12:57 /tmp/link
| -rw-r--r-- 1 ensc ensc 807103 3. Mär 12:02 data/bar/termcap
| address@hidden cf]$ cat /tmp/link
| ######## address@hidden cf]$
I am using cfengine-2.1.22 from Fedora Extras 6.
Enrico
pgpd2QSbUvCg5.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 'linktype=copy' fails,
Enrico Scholz <=