FS#864 - rsync rc.d script doesn't work well.
|
Details
rsync's rc.d script sometimes fails to stop, or fails to
start. rsync needs killed manually and
/var/run/daemons/rsyncd needs deleted before it will start
again.
|
This task depends upon
Closed by Dale Blount (dale)
Monday, 13 December 2004, 18:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in 2.6.3-1 (not sure if upstream or in Arch).
Monday, 13 December 2004, 18:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in 2.6.3-1 (not sure if upstream or in Arch).
When I run "rsync --daemon" from the commandline, it comes back right away with a 0 return code (which indicates success to the rc.d script), but there's nothing in the process table.
An strace shows this:
getsockopt(0, SOL_SOCKET, SO_TYPE, 0xbffff960, 0xbffff964) = -1 ENOTSOCK (Socket operation on non-socket)
fork() = 29572
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 10], WNOHANG, NULL) = 29572
wait4(-1, 0xbffff644, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
exit_group(0) = ?
Can you get it to run at all, Dale?