[Csync2] prefix does not work in separate config file
René Fischmann
r.fischmann at carcopy.com
Tue Aug 31 13:18:15 CEST 2010
I've also tested it on two different systems
1. openSuse 10.3 --> csync2 self compiled and
2. openSuse 11.3 --> csync2 installed per yast
allways the same reult.
Additionaly I've tested the prefix-option in the main-config file
(csync2.cfg) in connetcion with the file or path parameter in the csync2
call.
like:
# csync2 -xvr /data/fs/wx_prev/src/test
The changed files are marked as dirty only and not updated, if the given
path or file is mentioned in a prefix-declaration .
Has anyone an assertion?
René Fischmann
On 2010-08-30 12:36, René Fischmann wrote:
> Hey,
>
> I'm working with csync2 version 1.34.
>
> I have tried to split my single config file (csync2.cfg) into more.
> In the separate configs I use the prefix-option.
> If now I tried to call csync2 with the parameter -C, the changed files
> are only marked as dirty and not synced.
> If I don't use the prefix-option everything works fine.
>
> An examlpe (/etc/csync2/csync2_test.cfg):
> nossl * *;
> prefix pathtofiles
> {
> on host1: /data/fs/wx_prev/src/;
> on host2: /data/fs/wx_prev/src/;
> }
>
> group test
> {
> host host1;
> host host2;
>
> key /etc/system_group.key;
> include %pathtofiles%;
> }
>
> call:
> # csync2 -C test -xvr /data/fs/wx_prev/src/test
>
> result:
> Marking file as dirty: %pathtofiles%/tmp
> Marking file as dirty: %pathtofiles%/tmp/test3.rf
> Finished with 0 errors.
>
> Is it not possible to use the prefix-option in separate config files?
>
> Thanks.
>
> Rene Fischmann
>
>
More information about the Csync2
mailing list