Package: rsync
Version: 2.6.4-1
Severity: important
I can't rync my laptop to my backup-server anymore. The laptop runs
rsyncd, the backup-server rsync. Both run Debian/Unstable. The
rsyncd.conf on the laptop looks like this:
===================
log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
syslog facility=daemon
list = yes
uid = root
gid = root
lock file = /var/lock/rsyncd
read only = yes
use chroot = no
max connections=3
strict modes = yes
hosts allow = 192.168.0.32/0
ignore errors = yes
ignore nonreadable = yes
transfer logging = yes
timeout = 600
refuse options = checksum, dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.mpg *.avi
*.ogm *.bin *.mdf *.ts
[everything]
comment = whole laptop
path = /
exclude = /dev /proc /tmp /devices /cdrom /sys
===================
The laptop runs rsyncd 2.6.4-1, the backup-server runs rsync-2.6.4-1.
This worked fine before this latest version change, when they ran
2.6.3-2.
The command I use on the backup-server is:
sudo rsync --progress --delete -a --whole-file -v
rsync://thinkpad.of.nowhere/everything /backup/thinkpad
and the result:
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Again, nothing has changed in kernel, firewall or networking, in fact,
when I pinned rsync to the version in testing (2.6.3-2), everything
worked again.
Here is an strace -f log of rsyncd on the laptop:
Process 3397 attached - interrupt to quit
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
accept(4, {sa_family=AF_INET, sin_port=htons(48720),
sin_addr=inet_addr("192.168.0.32")}, [16]) = 3
rt_sigaction(SIGCHLD, {0x8065f70, [CHLD], SA_RESTART}, {0x8065f70, [CHLD],
SA_RESTART}, 8) = 0
clone(Process 3648 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f32b88) = 3648
[pid 3397] close(3) = 0
[pid 3397] select(5, [4], NULL, NULL, NULL <unfinished ...>
[pid 3648] close(4) = 0
[pid 3648] umask(022) = 0
[pid 3648] open("/var/log/rsyncd", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE,
0666) = 4
[pid 3648] fstat64(4, {st_mode=S_IFREG|0644, st_size=320067, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f42000
[pid 3648] fstat64(4, {st_mode=S_IFREG|0644, st_size=320067, ...}) = 0
[pid 3648] _llseek(4, 320067, [320067], SEEK_SET) = 0
[pid 3648] umask(0) = 022
[pid 3648] open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 5
[pid 3648] fstat64(5, {st_mode=S_IFREG|0600, st_size=670, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f41000
[pid 3648] read(5, "# sample rsyncd.conf configurati"..., 4096) = 670
[pid 3648] read(5, "", 4096) = 0
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7f41000, 4096) = 0
[pid 3648] setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 3648] fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
[pid 3648] fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 3648] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 3648] write(3, "@RSYNCD: 29\n", 12) = 12
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "@", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "R", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "S", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "Y", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "N", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "C", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "D", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, ":", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, " ", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "2", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "9", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "\n", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "e", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "v", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "e", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "r", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "y", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "t", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "h", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "i", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "n", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "g", 1) = 1
[pid 3648] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 3648] read(3, "\n", 1) = 1
[pid 3648] getpeername(3, {sa_family=AF_INET, sin_port=htons(48720),
sin_addr=inet_addr("192.168.0.32")}, [16]) = 0
[pid 3648] getpeername(3, {sa_family=AF_INET, sin_port=htons(48720),
sin_addr=inet_addr("192.168.0.32")}, [16]) = 0
[pid 3648] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 3648] connect(5, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110)
= -1 ENOENT (No such file or directory)
[pid 3648] close(5) = 0
[pid 3648] open("/etc/nsswitch.conf", O_RDONLY) = 5
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f41000
[pid 3648] read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
[pid 3648] read(5, "", 4096) = 0
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7f41000, 4096) = 0
[pid 3648] open("/etc/ld.so.cache", O_RDONLY) = 5
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=30337, ...}) = 0
[pid 3648] old_mmap(NULL, 30337, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7de4000
[pid 3648] close(5) = 0
[pid 3648] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 3648] open("/lib/tls/libnss_files.so.2", O_RDONLY) = 5
[pid 3648] read(5,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\35"..., 512) = 512
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=34748, ...}) = 0
[pid 3648] old_mmap(NULL, 38044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) =
0xb7dda000
[pid 3648] old_mmap(0xb7de3000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 5, 0x8000) = 0xb7de3000
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7de4000, 30337) = 0
[pid 3648] gettimeofday({1112767764, 800590}, NULL) = 0
[pid 3648] getpid() = 3648
[pid 3648] open("/etc/resolv.conf", O_RDONLY) = 5
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=66, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7deb000
[pid 3648] read(5, "search of.nowhere\nnameserver 194"..., 4096) = 66
[pid 3648] read(5, "", 4096) = 0
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7deb000, 4096) = 0
[pid 3648] open("/etc/host.conf", O_RDONLY) = 5
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7deb000
[pid 3648] read(5, "order hosts,bind\nmulti on\n", 4096) = 26
[pid 3648] read(5, "", 4096) = 0
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7deb000, 4096) = 0
[pid 3648] open("/etc/hosts", O_RDONLY) = 5
[pid 3648] fcntl64(5, F_GETFD) = 0
[pid 3648] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=558, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7deb000
[pid 3648] read(5, "127.0.0.1 localhost\n192.168.0.5 "..., 4096) = 558
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7deb000, 4096) = 0
[pid 3648] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 3648] connect(5, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110)
= -1 ENOENT (No such file or directory)
[pid 3648] close(5) = 0
[pid 3648] open("/etc/hosts", O_RDONLY) = 5
[pid 3648] fcntl64(5, F_GETFD) = 0
[pid 3648] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=558, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7deb000
[pid 3648] read(5, "127.0.0.1 localhost\n192.168.0.5 "..., 4096) = 558
[pid 3648] read(5, "", 4096) = 0
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7deb000, 4096) = 0
[pid 3648] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 3648] connect(5, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110)
= -1 ENOENT (No such file or directory)
[pid 3648] close(5) = 0
[pid 3648] open("/etc/hosts", O_RDONLY) = 5
[pid 3648] fcntl64(5, F_GETFD) = 0
[pid 3648] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 3648] fstat64(5, {st_mode=S_IFREG|0644, st_size=558, ...}) = 0
[pid 3648] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7deb000
[pid 3648] read(5, "127.0.0.1 localhost\n192.168.0.5 "..., 4096) = 558
[pid 3648] close(5) = 0
[pid 3648] munmap(0xb7deb000, 4096) = 0
[pid 3648] open("/var/lock/rsyncd", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 5
[pid 3648] fcntl64(5, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=4}, 0xbfc585d0) = 0
[pid 3648] geteuid32() = 0
[pid 3648] socket(PF_FILE, SOCK_STREAM, 0) = 6
[pid 3648] connect(6, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110)
= -1 ENOENT (No such file or directory)
[pid 3648] close(6) = 0
[pid 3648] open("/etc/ld.so.cache", O_RDONLY) = 6
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=30337, ...}) = 0
[pid 3648] old_mmap(NULL, 30337, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb7de4000
[pid 3648] close(6) = 0
[pid 3648] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 3648] open("/lib/tls/libnss_compat.so.2", O_RDONLY) = 6
[pid 3648] read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\0"..., 512) = 512
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=28648, ...}) = 0
[pid 3648] old_mmap(NULL, 31660, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0xb7dd2000
[pid 3648] old_mmap(0xb7dd9000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x6000) = 0xb7dd9000
[pid 3648] close(6) = 0
[pid 3648] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 3648] open("/lib/tls/libnsl.so.1", O_RDONLY) = 6
[pid 3648] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
<\0\000"..., 512) = 512
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=73304, ...}) = 0
[pid 3648] old_mmap(NULL, 80544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0xb7dbe000
[pid 3648] old_mmap(0xb7dcf000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x11000) = 0xb7dcf000
[pid 3648] old_mmap(0xb7dd0000, 6816, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7dd0000
[pid 3648] close(6) = 0
[pid 3648] munmap(0xb7de4000, 30337) = 0
[pid 3648] open("/etc/ld.so.cache", O_RDONLY) = 6
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=30337, ...}) = 0
[pid 3648] old_mmap(NULL, 30337, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb7de4000
[pid 3648] close(6) = 0
[pid 3648] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[pid 3648] open("/lib/tls/libnss_nis.so.2", O_RDONLY) = 6
[pid 3648] read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\34\0"..., 512) = 512
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=33440, ...}) = 0
[pid 3648] old_mmap(NULL, 36620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0xb7db5000
[pid 3648] old_mmap(0xb7dbd000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x7000) = 0xb7dbd000
[pid 3648] close(6) = 0
[pid 3648] munmap(0xb7de4000, 30337) = 0
[pid 3648] open("/etc/passwd", O_RDONLY) = 6
[pid 3648] fcntl64(6, F_GETFD) = 0
[pid 3648] fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
[pid 3648] _llseek(6, 0, [0], SEEK_CUR) = 0
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=1498, ...}) = 0
[pid 3648] mmap2(NULL, 1498, PROT_READ, MAP_SHARED, 6, 0) = 0xb7deb000
[pid 3648] _llseek(6, 1498, [1498], SEEK_SET) = 0
[pid 3648] munmap(0xb7deb000, 1498) = 0
[pid 3648] close(6) = 0
[pid 3648] open("/etc/group", O_RDONLY) = 6
[pid 3648] fcntl64(6, F_GETFD) = 0
[pid 3648] fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
[pid 3648] _llseek(6, 0, [0], SEEK_CUR) = 0
[pid 3648] fstat64(6, {st_mode=S_IFREG|0644, st_size=624, ...}) = 0
[pid 3648] mmap2(NULL, 624, PROT_READ, MAP_SHARED, 6, 0) = 0xb7deb000
[pid 3648] _llseek(6, 624, [624], SEEK_SET) = 0
[pid 3648] munmap(0xb7deb000, 624) = 0
[pid 3648] close(6) = 0
[pid 3648] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 3648 detached
<... select resumed> ) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 3648
waitpid(-1, NULL, WNOHANG) = -1 ECHILD (No child processes)
rt_sigaction(SIGCHLD, {0x8065f70, [CHLD], SA_RESTART}, {0x8065f70, [CHLD],
SA_RESTART}, 8) = 0
sigreturn() = ? (mask now [])
select(5, [4], NULL, NULL, NULL <unfinished ...>
Process 3397 detached
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-rc2-mm1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages rsync depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libpopt0 1.7-5 lib for parsing cmdline parameters
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]