https://bugzilla.samba.org/show_bug.cgi?id=3778


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #1 from [EMAIL PROTECTED]  2006-05-30 14:35 MST -------
A -1 in RSYNC_RAW_STATUS means that the waitpid() call failed for some reason
(the reason is not currently logged).

In order for rsync to be able to run the post-xfer script with full permissions
(i.e. outside any chroot, and as the original daemon user), it forks prior to
the copy, and the parent process just waits around for the child to do the copy
and exit.  For some reason, the parent process is getting an error back from
waitpid() instead of the exit status.

I'd suggest running the daemon under a system-call logging tool (use rsync
--daemon --no-detach to make things easier) and you will be able to see what
happens with the waitpid() call.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to