[Csync2] prefix declaration
Clifford Wolf
clifford at clifford.at
Wed Mar 1 11:54:11 CET 2006
Hi,
On Wed, Mar 01, 2006 at 09:37:35AM +0100, Daniele Palumbo wrote:
> ---
> prefix homedir # a prefix declaration
> (see 3.4.7)
> {
> on *: /home;
> }
> prefix user
> {
> on data: %homedir%/rocco;
> on *: %homedir%/daniele;
> }
> ---
no, that does not work. prefixes are not substituted inside of prefixes.
You have to 'mutiply it out' manually.
I've now added a check to the subversion trunk so csync2 refuses to parse a
config file with non-abolute prefix paths.
If you have a complex setup where it would be to much work to do that
manually, I suggest you write a small script which dumps this config file
sections in a seperate file and then include it in the csync2 config file
using the 'include' statement.
yours,
- clifford
--
***************** Free Software / Hacker Events ******************
Linuxwochen Austria ................... http://www.linuxwochen.at/
Linux-Kongress .................... http://www.linux-kongress.org/
Chemnitzer Linux-Tage ........... http://chemnitzer.linux-tage.de/
Chaos Communication Congress ......... http://www.ccc.de/congress/
************************** SEE YOU THERE *************************
[..] If it still doesn't work, re-write it in assembler. This won't fix the
bug, but it will make sure no one else finds it and makes you look bad.
More information about the Csync2
mailing list