On Fri 01 Dec 2006, Andy Spiegl wrote:
>
> > > Also, I tried to backport it to sarge (where I urgently need it)
> > > but didn't succeed because of many compile time errors. :-(
> >
> > How did you try to build it?
> apt-get source rsync
> cd rsync-2.6.9
> dpkg-buildpackage -uc -m"[EMAIL PROTECTED]"
>
> Aiii, I forgot the "-B" and therefore didn't notice that I need
> libpopt-dev and libacl1-dev. Just redid it now and it worked!
>
> > You can try http://xxxxxxxxxxx/rsync_2.6.9-0.sarge.2_i386.deb
> Hm, that leaves me with a new problem:
>
> dpkg: dependency problems prevent configuration of rsync:
> rsync depends on lsb-base (>= 3.0); however:
> Version of lsb-base on system is 2.0-7.
>
> So I guess that means that I have to install lsb from backports.org,
If you save the old init.d script from 2.6.8, you can override that
dependency. Or get rsync_2.6.9-0.sarge.2.1_i386.deb from the same place
I mentioned before (please keep that location confidential! I can't
afford a lot of bandwidth there). That has the old init.d script and the
old dependencies.
> But since I really need the fix, I installed it on just 1 of my servers and
> the backup server. And here is more bad news: the patches didn't solve the
> problem. :-((
>
> Proof:
> ================================================================
> server1:~#touch /var/www/some/subdir/testfile
> server1:~#/usr/bin/rsync -v --archive --relative --delete --delete-excluded
> --compress --protocol=28 --exclude-from=/var/local/dom/def/backup.exclude
> /var/www/ backupserver::server1_backup/
> building file list ... done
> var/www/some/subdir/
> /var/www/some/subdir/testfile
>
> server1:~#rm /var/www/some/subdir/testfile
> server1:~#/usr/bin/rsync -v --archive --relative --delete --delete-excluded
> --compress --protocol=28 --exclude-from=/var/local/dom/def/backup.exclude
> /var/www/ backupserver::server1_backup/
> building file list ... done
> var/www/some/subdir/
> ================================================================
>
> As you can see it doesn't delete the testfile which resides in some
> subdirectory. :-(
(Why pass --protocol=28, BTW?)
I tried to reproduce this... (I used /dev/null for the exclude-from as
you don't show what's in there, and it shouldn't matter.)
receiver$ cat /etc/rsyncd.conf
[bla]
path = /tmp/rsync
uid = paul
read only = no
sender$ mkdir -p /tmp/rsync/a
sender$ touch /tmp/rsync/a/file
sender$ /usr/bin/rsync -v --archive --relative --delete --delete-excluded
--compress --protocol=28 --exclude-from=/dev/null /tmp/rsync/a/ receiver::bla/
building file list ... done
tmp/
tmp/rsync/
tmp/rsync/a/
/tmp/rsync/a/file
sent 186 bytes received 32 bytes 436.00 bytes/sec
total size is 29 speedup is 0.13
sender$ rm /tmp/rsync/a/file
sender$ /usr/bin/rsync -v --archive --relative --delete --delete-excluded
--compress --protocol=28 --exclude-from=/dev/null /tmp/rsync/a/ 10.41.1.20::bla/
building file list ... done
deleting tmp/rsync/a/file
tmp/rsync/a/
sent 100 bytes received 12 bytes 224.00 bytes/sec
total size is 0 speedup is 0.00
As you see, this works fine for me...
Paul Slootman
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]