Package: rsync
Version: 2.6.9-6
Severity: important

rsync does not log when `exclude-from' if from stdin. See the typescript:

    $ mkdir /tmp/dir1 /tmp/dir2
    $ touch /tmp/dir1/a
    $ echo "XXX" > /tmp/exclude.list
    $ rsync --log-file=/tmp/log --exclude-from=/tmp/exclude.list /tmp/dir1/* 
/tmp/dir2/
    $ cat /tmp/log
    2008/02/21 22:00:01 [18964] receiving file list
    2008/02/21 22:00:01 [18964] >f+++++++++ a
    2008/02/21 22:00:01 [18964] sent 46 bytes  received 24 bytes  total size 0
    $ touch /tmp/dir1/b
    $ rsync --log-file=/tmp/log --exclude-from=- /tmp/dir1/* /tmp/dir2/
    XXX^D
    $ ls /tmp/dir2
    a  b
    $ cat /tmp/log
    2008/02/21 22:00:01 [18964] receiving file list
    2008/02/21 22:00:01 [18964] >f+++++++++ a
    2008/02/21 22:00:01 [18964] sent 46 bytes  received 24 bytes  total size 0
      <NO LOG HERE!?>
    $ rsync --log-file=/tmp/log --exclude-from=/tmp/log /tmp/dir1/* /tmp/dir2/
    $ cat /tmp/log
    2008/02/21 22:00:01 [18964] receiving file list
    2008/02/21 22:00:01 [18964] >f+++++++++ a
    2008/02/21 22:00:01 [18964] sent 46 bytes  received 24 bytes  total size 0
    2008/02/21 22:01:06 [19111] receiving file list
    2008/02/21 22:01:06 [19111] >f..T...... a  <NOW LOG>
    2008/02/21 22:01:06 [19111] >f..T...... b
    2008/02/21 22:01:06 [19111] sent 68 bytes  received 35 bytes  total size 0

Thanks,
semente

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsync depends on:
ii  libacl1                       2.2.45-1   Access control list shared library
ii  libc6                         2.7-8      GNU C Library: Shared libraries
ii  libpopt0                      1.10-3     lib for parsing cmdline parameters
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

rsync recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to