[sisyphus] rsync
Sergey Golovin
=?iso-8859-1?q?svgol_=CE=C1_samkon=2Eru?=
Пт Сен 24 11:30:45 MSD 2004
* iLL <ill на krumn.oilnet.ru> [24 Sep Fri 10:06]
> Hi!
> С некоторых пор (несколько месяцев) rsync у меня перестал выходить при ошибке.
> Пишет в лог:
> rsync error: error in rsync protocol data stream (code 12) at io.c(354)
> коды и строки меняются.
У меня не работает с такой же диагностикой rsync --daemon при попытке
записать файл. Причем, только если в описании модуля прописан
непривилегированный пользователь, если же пишу
uid = root
gid = root
, то все ОК.
Написал в рассылку по rsync, но пока ответа нет. Наверное, тот диалект
английского, который получается из школьного немецкого, не передал
смысла :-( .
********* Моя конфигурация **************
rsync 2.6.2
2.4.20-alt16-up
========== /etc/rsyncd.conf =============
log file = /var/log/rsync
[routers]
comment = Our Backups
path = /mnt/backup/routers
uid = archiver
gid = archiver
use chroot = true
read only = false
list = true
auth users = me
secrets file = /etc/rsyncd.secrets
strict modes = true
dont compress = *
hosts allow = 127.0.0.1
hosts deny = *.*.*.*
========== end /etc/rsyncd.conf =========
========== /etc/rsyncd.secrets ==========
me:itsme
========== end /etc/rsyncd.secrets ======
ls -la /mnt/backup/routers/
total 12
drwxrwxr-x 3 archiver archiver 4096 Сен 17 14:34 .
drwxr-xr-x 7 archiver archiver 4096 Сен 17 22:59 ..
drwxr-xr-x 2 archiver archiver 4096 Сен 17 14:34 tmp
*********** Конец конфигурации **********
Теперь если запустить демон:
strace -f rsync --daemon --no-detach 2>~/tmp/strace.out
и попытаться записать "туда" файл:
rsync -vvv resume.txt rsync://me@localhost/routers/
или
rsync -vvv resume.txt me на localhost::routers/
то получаем:
========================================
opening tcp connection to localhost port 873
Password:
send_file_list done
send_files starting
send_files phase=1
rsync: connection unexpectedly closed (73 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
_exit_cleanup(code=12, file=io.c, line=342): about to call exit(12)
========================================
часто номер строки 354
=========== /var/log/rsync =============
2004/09/21 12:00:23 [8245] rsync: connection unexpectedly closed (77
bytes read so far)
2004/09/21 12:00:23 [8245] rsync error: error in rsync protocol data
stream (code 12) at io.c(342)
=========== end /var/log/rsync =========
--
Sergey Golovin
----------- следующая часть -----------
execve("/usr/bin/rsync", ["rsync", "--daemon", "--no-detach"], [/* 33 vars */]) = 0
uname({sys="Linux", node="mstation.hq.samkon.ru", ...}) = 0
brk(0) = 0x8083a14
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=74763, ...}) = 0
mmap2(NULL, 74763, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3) = 0
open("/lib/libpopt.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\21"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=26220, ...}) = 0
mmap2(NULL, 25184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40027000
mmap2(0x4002d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x4002d000
close(3) = 0
mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|0x1000000) = -1 EINVAL (Invalid argument)
mprotect(0xbfff8000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffc000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffe000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xbfffc000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffd000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
open("/lib/libresolv.so.2", O_RDONLY) = 3
read(3, "\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
fstat64(3, {st_mode=S_IFREG|0644, st_size=63444, ...}) = 0
mmap2(NULL, 76976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002e000
mmap2(0x4003d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x4003d000
mmap2(0x4003f000, 7344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4003f000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320Q\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1094832, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40041000
mmap2(NULL, 1101572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40042000
mmap2(0x40149000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107) = 0x40149000
mmap2(0x4014d000, 7940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014d000
close(3) = 0
mprotect(0x40149000, 4096, PROT_READ) = 0
munmap(0x40014000, 74763) = 0
rt_sigaction(SIGUSR1, {0x8052010, [USR1], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR2, {0x8052040, [USR2], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x8052070, [CHLD], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
time(NULL) = 1095751756
geteuid32() = 0
umask(0) = 022
brk(0) = 0x8083a14
brk(0x80a4a14) = 0x80a4a14
brk(0) = 0x80a4a14
brk(0x80a5000) = 0x80a5000
rt_sigaction(SIGINT, {0x804a9e0, [INT], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804a9e0, [HUP], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804a9e0, [TERM], SA_RESTORER|SA_RESTART, 0x40069958}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
getcwd("/root", 4095) = 6
getsockopt(0, SOL_SOCKET, SO_TYPE, 0xbffff8f0, 0xbffff8f4) = -1 ENOTSOCK (Socket operation on non-socket)
open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=660, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "log file = /var/log/rsync\n[updat"..., 4096) = 660
close(3) = 0
munmap(0x40014000, 4096) = 0
time(NULL) = 1095751756
open("/etc/localtime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=767, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16"..., 4096) = 767
close(3) = 0
munmap(0x40014000, 4096) = 0
umask(022) = 0
open("/var/log/rsync", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=15790, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
fstat64(3, {st_mode=S_IFREG|0644, st_size=15790, ...}) = 0
_llseek(3, 15790, [15790], SEEK_SET) = 0
umask(0) = 022
getpid() = 9187
time(NULL) = 1095751756
write(3, "2004/09/21 12:29:16 [9187] rsync"..., 80) = 80
socket(PF_INET6, SOCK_DGRAM, 0) = -1 EAFNOSUPPORT (Address family not supported by protocol)
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(873), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(32796), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(4) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(873), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
socket(PF_INET6, SOCK_STREAM, 6) = -1 EAFNOSUPPORT (Address family not supported by protocol)
listen(4, 5) = 0
close(3) = 0
munmap(0x40014000, 4096) = 0
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
accept(4, {sa_family=AF_INET, sin_port=htons(41321), sin_addr=inet_addr("127.0.0.1")}, [16]) = 3
rt_sigaction(SIGCHLD, {0x805e410, [CHLD], SA_RESTORER|SA_RESTART, 0x40069958}, {0x8052070, [CHLD], SA_RESTORER|SA_RESTART, 0x40069958}, 8) = 0
fork() = 9193
[pid 9187] close(3 <unfinished ...>
[pid 9193] close(4 <unfinished ...>
[pid 9187] <... close resumed> ) = 0
[pid 9193] <... close resumed> ) = 0
[pid 9187] select(5, [4], NULL, NULL, NULL <unfinished ...>
[pid 9193] umask(022) = 0
[pid 9193] open("/var/log/rsync", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 4
[pid 9193] fstat64(4, {st_mode=S_IFREG|0644, st_size=15870, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 9193] fstat64(4, {st_mode=S_IFREG|0644, st_size=15870, ...}) = 0
[pid 9193] _llseek(4, 15870, [15870], SEEK_SET) = 0
[pid 9193] umask(0) = 022
[pid 9193] open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 5
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=660, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
[pid 9193] read(5, "log file = /var/log/rsync\n[updat"..., 4096) = 660
[pid 9193] read(5, "", 4096) = 0
[pid 9193] close(5) = 0
[pid 9193] munmap(0x40015000, 4096) = 0
[pid 9193] setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 9193] fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
[pid 9193] fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 9193] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 9193] write(3, "@RSYNCD: 28\n", 12) = 12
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "@", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "R", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "S", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "Y", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "N", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "C", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "D", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, ":", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, " ", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "2", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "8", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "o", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "u", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "t", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "e", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "s", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] getpeername(3, {sa_family=AF_INET, sin_port=htons(41321), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
[pid 9193] getpeername(3, {sa_family=AF_INET, sin_port=htons(41321), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
[pid 9193] socket(PF_UNIX, SOCK_STREAM, 0) = 5
[pid 9193] connect(5, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid 9193] close(5) = 0
[pid 9193] open("/etc/nsswitch.conf", O_RDONLY) = 5
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=1854, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
[pid 9193] read(5, "#\n# Please refer to nsswitch.con"..., 4096) = 1854
[pid 9193] read(5, "", 4096) = 0
[pid 9193] close(5) = 0
[pid 9193] munmap(0x40015000, 4096) = 0
[pid 9193] open("/etc/ld.so.cache", O_RDONLY) = 5
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=74763, ...}) = 0
[pid 9193] mmap2(NULL, 74763, PROT_READ, MAP_PRIVATE, 5, 0) = 0x4014f000
[pid 9193] close(5) = 0
[pid 9193] open("/lib/libnss_files.so.2", O_RDONLY) = 5
[pid 9193] read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\33\0\000"..., 512) = 512
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=34204, ...}) = 0
[pid 9193] mmap2(NULL, 37532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x40015000
[pid 9193] mmap2(0x4001d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x7) = 0x4001d000
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4014f000, 74763) = 0
[pid 9193] open("/dev/urandom", O_RDONLY) = 5
[pid 9193] read(5, "q\211\333\254z\214\217\330", 8) = 8
[pid 9193] close(5) = 0
[pid 9193] getpid() = 9193
[pid 9193] open("/dev/urandom", O_RDONLY) = 5
[pid 9193] read(5, "%8(\2430k\355\202", 8) = 8
[pid 9193] close(5) = 0
[pid 9193] open("/etc/resolv.conf", O_RDONLY) = 5
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=85, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "search hq.samkon.ru \n#nameserver"..., 4096) = 85
[pid 9193] read(5, "", 4096) = 0
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] open("/etc/host.conf", O_RDONLY) = 5
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "order hosts,bind\nmulti on\n", 4096) = 26
[pid 9193] read(5, "", 4096) = 0
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] open("/etc/hosts", O_RDONLY) = 5
[pid 9193] fcntl64(5, F_GETFD) = 0
[pid 9193] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=101, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "127.0.0.1\t\tlocalhost.localdomain"..., 4096) = 101
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] open("/etc/hosts", O_RDONLY) = 5
[pid 9193] fcntl64(5, F_GETFD) = 0
[pid 9193] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=101, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "127.0.0.1\t\tlocalhost.localdomain"..., 4096) = 101
[pid 9193] read(5, "", 4096) = 0
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] open("/etc/hosts", O_RDONLY) = 5
[pid 9193] fcntl64(5, F_GETFD) = 0
[pid 9193] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=101, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "127.0.0.1\t\tlocalhost.localdomain"..., 4096) = 101
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] gettimeofday({1095751763, 104965}, NULL) = 0
[pid 9193] getpid() = 9193
[pid 9193] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 9193] write(3, "@RSYNCD: AUTHREQD K0tTK4QGgnD5JN"..., 41) = 41
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {57, 440000})
[pid 9193] read(3, "m", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "e", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, " ", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "F", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "9", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "u", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "6", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "C", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "6", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "A", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "F", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "4", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "P", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "/", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "c", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "V", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "4", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "g", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "o", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "a", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "l", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "F", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "1", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "q", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "A", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] open("/etc/rsyncd.secrets", O_RDONLY|O_LARGEFILE) = 5
[pid 9193] stat64("/etc/rsyncd.secrets", {st_mode=S_IFREG|0600, st_size=10, ...}) = 0
[pid 9193] read(5, "m", 1) = 1
[pid 9193] read(5, "e", 1) = 1
[pid 9193] read(5, ":", 1) = 1
[pid 9193] read(5, "i", 1) = 1
[pid 9193] read(5, "t", 1) = 1
[pid 9193] read(5, "s", 1) = 1
[pid 9193] read(5, "m", 1) = 1
[pid 9193] read(5, "e", 1) = 1
[pid 9193] read(5, "\n", 1) = 1
[pid 9193] close(5) = 0
[pid 9193] geteuid32() = 0
[pid 9193] socket(PF_UNIX, SOCK_STREAM, 0) = 5
[pid 9193] connect(5, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid 9193] close(5) = 0
[pid 9193] open("/etc/passwd", O_RDONLY) = 5
[pid 9193] fcntl64(5, F_GETFD) = 0
[pid 9193] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=2416, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "root:x:0:0:HQ MStation:/root:/bi"..., 4096) = 2416
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] socket(PF_UNIX, SOCK_STREAM, 0) = 5
[pid 9193] connect(5, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid 9193] close(5) = 0
[pid 9193] open("/etc/group", O_RDONLY) = 5
[pid 9193] fcntl64(5, F_GETFD) = 0
[pid 9193] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 9193] fstat64(5, {st_mode=S_IFREG|0644, st_size=1256, ...}) = 0
[pid 9193] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
[pid 9193] read(5, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1256
[pid 9193] close(5) = 0
[pid 9193] munmap(0x4001f000, 4096) = 0
[pid 9193] chroot("/mnt/backup/routers") = 0
[pid 9193] chdir("/") = 0
[pid 9193] setgid32(512) = 0
[pid 9193] open("/proc/sys/kernel/ngroups_max", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 9193] setgroups32(1, [512]) = 0
[pid 9193] setuid32(512) = 0
[pid 9193] getrlimit(0x6, 0xbfffd5d8) = 0
[pid 9193] setrlimit(RLIMIT_NPROC, {rlim_cur=1, rlim_max=1}) = 0
[pid 9193] geteuid32() = 512
[pid 9193] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 9193] write(3, "@RSYNCD: OK\n", 12) = 12
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "-", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "-", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "s", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "e", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "v", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "e", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {59, 960000})
[pid 9193] read(3, "-", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "v", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "v", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "v", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, ".", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "o", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "u", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "t", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "e", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "r", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "s", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "/", 1) = 1
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] stat64("//", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\n", 1) = 1
[pid 9193] getpid() = 9193
[pid 9193] time(NULL) = 1095751765
[pid 9193] write(4, "2004/09/21 12:29:25 [9193] rsync"..., 87) = 87
[pid 9193] time(NULL) = 1095751765
[pid 9193] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 9193] write(3, "U\330OA", 4) = 4
[pid 9193] time(NULL) = 1095751765
[pid 9193] fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 9193] fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 9193] select(4, [3], NULL, NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 9193] read(3, "\0\0\0\0\0", 8184) = 5
[pid 9193] time(NULL) = 1095751765
[pid 9193] stat64("/", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
[pid 9193] chdir("/") = 0
[pid 9193] socketpair(PF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0
[pid 9193] fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
[pid 9193] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 9193] fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR)
[pid 9193] fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 9193] fork() = -1 EAGAIN (Resource temporarily unavailable)
[pid 9193] close(6) = 0
[pid 9193] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 9193] write(3, "\4\0\0\7\377\377\377\377", 8) = 8
[pid 9193] select(6, [5], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
[pid 9193] read(5, "", 4) = 0
[pid 9193] getpid() = 9193
[pid 9193] time(NULL) = 1095751765
[pid 9193] write(4, "2004/09/21 12:29:25 [9193] rsync"..., 88) = 88
[pid 9193] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x8052010, [USR1], SA_RESTORER|SA_RESTART, 0x40069958}, 8) = 0
[pid 9193] rt_sigaction(SIGUSR2, {SIG_IGN}, {0x8052040, [USR2], SA_RESTORER|SA_RESTART, 0x40069958}, 8) = 0
[pid 9193] getpid() = 9193
[pid 9193] time(NULL) = 1095751765
[pid 9193] write(4, "2004/09/21 12:29:25 [9193] rsync"..., 99) = 99
[pid 9193] munmap(0x40014000, 4096) = 0
[pid 9193] SYS_252(0xc, 0x1000, 0x8083c80, 0x40149678, 0x40149678) = -1 ENOSYS (Function not implemented)
[pid 9193] _exit(12) = ?
<... select resumed> ) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 9193
waitpid(-1, NULL, WNOHANG) = -1 ECHILD (No child processes)
rt_sigaction(SIGCHLD, {0x805e410, [CHLD], SA_RESTORER|SA_RESTART, 0x40069958}, {0x805e410, [CHLD], SA_RESTORER|SA_RESTART, 0x40069958}, 8) = 0
sigreturn() = ? (mask now [])
select(5, [4], NULL, NULL, NULL <unfinished ...>
Подробная информация о списке рассылки Sisyphus