[Csync2] Strange behavior with pattern/exec
Valentin N. Soloviov
vvsa at newmail.ru
Mon Jan 7 19:22:57 CET 2008
Hi all.
Youri LACAN-BARTLEY (NUXIT) wrote:
http://archives.free.net.ph/message/20070927.124214.34ae61fe.en.html
I have this problem too
csync2: 1.34
system: FedoraCore7 2.6.21-1.3194.fc7 #1 SMP
gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
On this system execution more then one section "action" blocks,
becouse error is occured in action.c(line 142)
waitpid(pid, 0, 0) always return -1 and process halted.
When i remove in file csync2.c(line 239) signal(SIGCHLD, SIG_IGN);
all works properly.
And other little problem, when exec is program then stay in
background, csync2 daemon can't be restarted becouse socket
already in use, when i add in faile action.c(line 105) conn_close()
all works ok.
More information about the Csync2
mailing list