DO NOT REPLY [Bug 4633] New: rsync mirror fails when using -a/-o/-g
options
samba-bugs at samba.org
samba-bugs at samba.org
Thu May 17 18:18:07 GMT 2007
https://bugzilla.samba.org/show_bug.cgi?id=4633
Summary: rsync mirror fails when using -a/-o/-g options
Product: rsync
Version: 2.6.3
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: klaus.steden at thomson.net
QAContact: rsync-qa at samba.org
Attempting to rsync between two RHEL4 systems across WAN.
When using the following command-line, everything works fine:
rsync -rlptD --verbose --progress rsync://jeeves.trno/redhat/RHEL4/ /usr/tmp
Things fail when using the following command-line:
rsync -rlptDo --verbose --progress rsync://jeeves.trno/redhat/RHEL4/ /usr/tmp
(will also fail if using '-g' instead of '-o', or using '-a' option instead of
'-rlptogD').
Failure message on the client side is:
receiving file list ...
rsync: connection unexpectedly closed (4 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Running the 'rsync-debug' wrapper (found on the rsync site) to generate strace
logs displays a whole pile of strange-looking errors on the server side:
-- cut --
stat64("/etc/localtime", 0xbff52660) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
write(3, "2007/05/17 14:09:13 [30331] rsyn"..., 101) = 101
fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
time(NULL) = 1179425353
select(1, NULL, [0], NULL, {60, 0}) = 1 (out [0], left {60, 0})
write(0, "I\232LF", 4) = 4
select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {59, 992000})
read(0, "\0\0\0\0", 4) = 4
lstat64("/RHEL4/.", {st_mode=S_IFDIR|0775, st_size=107, ...}) = 0
chdir("/RHEL4") = 0
lstat64(".", {st_mode=S_IFDIR|0775, st_size=107, ...}) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa7000
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f86000
open("/etc/passwd", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/tls/i686/sse2", 0xbff4da9c) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/i686", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/sse2", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/i686/sse2", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/i686/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/i686", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/sse2", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbff4da9c) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/tls/i686", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/tls/sse2", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/tls", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/i686/sse2", 0xbff4da9c) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/i686", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/sse2", 0xbff4da9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib", 0xbff4da9c) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-- cut --
However, on the server side, /etc/localtime exists, as do /etc/ld.so.cache,
/etc/passwd, and /lib/libnss_nis.so.2. So I'm scratching my head on this one
... anyone ever seen this sort of failure from rsync before?
--
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