Trouble with rsync inside fcron: buffer overflow in recv_exclude_list

Hendrik Visage hvisage at
Sun Jun 27 19:41:49 GMT 2004


 Using the following script (which runs fine as root in a terminal), I get the
error below. Any ideas where to continue searching?

sh-2.05b$ rsync --version
rsync  version 2.6.2  protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, 
              IPv6, 64-bit system inums, 64-bit internal inums

<snipped license>

sh-2.05b$ cat /usr/local/sbin/mail_backup 
touch /tmp/mail_backup-rsync >& /dev/null
date >> /tmp/mail_backup-rsync
mkdir /md7/mail_backup/`date "+%H"` >& /dev/null
/usr/bin/rsync   --delete-after   --max-delete=1 -pogtvS /var/spool/mail/* /md7/mail_backup/`date "+%H"`/

----- Forwarded message from fcron <root> -----

To: root at hvs
Subject: Output of fcron job: '/usr/local/sbin/mail_backup'
From: fcron <root>
Date: Sun, 27 Jun 2004 21:20:00 +0200

ERROR: buffer overflow in recv_exclude_list
rsync error: error allocating core memory buffers (code 22) at util.c(122)
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
21:20:00 Job /usr/local/sbin/mail_backup terminated (exit status: 12) (mailing output)

----- End forwarded message -----

Linux hvs 2.4.25-ll-r5.0.0a #1 Sun Jun 20 02:02:22 SAST 2004 i686 unknown unknown GNU/Linux
sh-2.05b$ mount
/dev/md/7 on /md7 type reiserfs (rw,noatime)
/dev/md/6 on /var/spool/mail type jfs (rw,noatime)

More information about the rsync mailing list