DO NOT REPLY [Bug 3778] New: rsync triggers ( pre/post xter scripts )

samba-bugs at samba.org samba-bugs at samba.org
Mon May 15 19:08:41 GMT 2006


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

           Summary: rsync triggers ( pre/post xter scripts )
           Product: rsync
           Version: 2.6.8
          Platform: Sparc
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: hrumde at citistreetonline.com
         QAContact: rsync-qa at samba.org


I am syncing some business data between two solaris servers. I am using
post-xfer script to generate Email traps for non-zero exit status. However the
exist status is always -1 

See the output of set command mailed by sendmail to check RSYNC environment
vars.
RSYNC_EXIT_STATUS=-1
RSYNC_HOST_ADDR=172.29.146.49
RSYNC_HOST_NAME=minttest.id.citistreet.org
RSYNC_MODULE_NAME=TMP
RSYNC_MODULE_PATH=/tmp/TMP
RSYNC_RAW_STATUS=-1
RSYNC_USER_NAME=''

Is this a bug or I am not using proper config file. See the config section in 
rsyncd.conf 

log file = /tmp/RSYNC2.8.log
[TMP] 
path    = /tmp/TMP
comment = /tmp/TMP
read only = false
uid = zhrumde
gid = tivoli
#pre-xfer  exec = /tmp/send_mail.ksh
post-xfer exec = /tmp/send_mail.ksh

Thanks 
Hemant Rumde
CitiGroup 
Boston MA


-- 
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.


More information about the rsync mailing list