Bug#317418: Updated Sarge package available
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://xxx/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]
Bug#317418: Updated Sarge package available
Hi Paul, There's a prerelease of 2.6.9 uploaded to experimental, 2.6.9~pre3-1 It also has ACL support patched in. Thanks for the note. I am out of town for a while (actually out of continent :-) so I didn't check until just now. I found 2.6.9-2 on unstable, but I don't see any mentioning of this bug in the changelog...? Also, I tried to backport it to sarge (where I urgently need it) but didn't succeed because of many compile time errors. :-( Do you know maybe of anybody who already backported it? (nothing in http://backports.org/debian/pool/main/r/rsync/) Thanks so much, Andy. -- Some say time is the fire in which we burn -- Dr. Soren -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Hi Paul, 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://paul.gps.nl/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, but that requires that I also upgrade these: alien gcc-3.4-base libaudio2 libmng1 libqt3c102-mt libqt4-core libqt4-gui libqt4-qt3support libqt4-sql librpm4 libstdc++6 lprng lsb-release pax qt4-qtconfig rpm Uffda, that's a lot of requirements for just a simple fix. :-( 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. :-( Thanks, Andy. -- I said no to drugs, but they just wouldn't listen! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
On Thu 21 Sep 2006, Andy Spiegl wrote: A 2.6.9 version of rsync is imminent Great. Would you mind sending a mail (and to [EMAIL PROTECTED]) when it's available? There's a prerelease of 2.6.9 uploaded to experimental, 2.6.9~pre3-1 It also has ACL support patched in. Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Whoops! Please send over a large trout, I must be confused by the bugs :) No problem. You can make up for it by backporting it again :))) Are there any plans for a new backport? Hm, actually I wonder whether the patch even made it into sid yet. Does anyone know? Thanks, Andy. -- You almost always get what you pay for. Other times, you get less. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
On Thu 21 Sep 2006, Andy Spiegl wrote: Hm, actually I wonder whether the patch even made it into sid yet. A 2.6.9 version of rsync is imminent, and should have that fix (and a couple of other important fixes) in it, so I prefer to wait a bit for that. Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Wonderful! When can we expect the Debian package to include this patch? (especially the backported version would be greeeat) Thanks, Andy. Mario 'BitKoenig' Holbe wrote: Ah, I got a prompt answer from Wayne on the rsync list. I'll attach it. [...] This is a different bug that was recently fixed: using --relative with a root (/) filesystem and --delete was also failing to delete. The latest CVS source and recent nightly tar files have this fixed. Here's the bug (which has an attached patch): https://bugzilla.samba.org/show_bug.cgi?id=3929 ..wayne.. Chau, Andy. -- When a true genius appears in the world, you may know him by this sign: that the fools are all in confederacy against him. signature.asc Description: Digital signature
Bug#317418: Updated Sarge package available
On Tue, 2006-09-12 at 19:28 +0200, Andy Spiegl wrote: When can we expect the Debian package to include this patch? (especially the backported version would be greeeat) I backported it a long time ago, I thought it was referenced in this bug thread? Anyway, you can pick up the package here deb http://www.vanginderachter.be/downloads/debian/packages/archives sarge main Serge -- Serge van Ginderachter http://www.vanginderachter.be/ Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Whoops! Please send over a large trout, I must be confused by the bugs :) No problem. You can make up for it by backporting it again :))) Andy. -- Many people easily confuse innovation with the latest influenza epidemia from Redmond. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Hi Serge, I backported it a long time ago, I thought it was referenced in this bug thread? Anyway, you can pick up the package here deb http://www.vanginderachter.be/downloads/debian/packages/archives sarge main Wonderful! However... your last changelog.Debian entry was in September 2005, and the patch is from 2006-08-26. https://bugzilla.samba.org/show_bug.cgi?id=3929 So somehow I doubt that you already included that patch. :-) Thanks a lot, Andy. -- If life is just a highway, then the soul is just a car, and objects in the rear-view mirror may appear closer than they are. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
Wonderful! However... your last changelog.Debian entry was in September 2005, and the patch is from 2006-08-26. https://bugzilla.samba.org/show_bug.cgi?id=3929 So somehow I doubt that you already included that patch. :-) Whoops! Please send over a large trout, I must be confused by the bugs :) Serge -- Serge van Ginderachter http://www.vanginderachter.be/ Failing to plan is planning to fail. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
On Fri, Sep 01, 2006 at 06:53:30PM +0200, Paul Slootman wrote: Because I couldn't reproduce it, and I didn't want to close a bug report Huh? This should be very simple reproducible by just following the http://lists.samba.org/archive/rsync/2005-April/012335.html And yes, with the current rsync/unstable it is not reproducible this way, i.e. the patch works for that :) I had not seen confirmed that it was fixed (although I'm pretty However, unfortunately it's not fully fixed either :/ I just stumbled over it while noticing that my rsnapshot root backup never gets any file deleted... So I made some tests: [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --numeric-ids --relative --delete-excluded --exclude=lost+found/ / /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting 0 [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --numeric-ids --delete-excluded --exclude=lost+found/ / /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting 264 [EMAIL PROTECTED]:~# cd / [EMAIL PROTECTED]:/# rsync -HSaxvn --delete --numeric-ids --relative --delete-excluded --exclude=lost+found/ . /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting 264 [EMAIL PROTECTED]:/# cd [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --numeric-ids --relative --delete-excluded --exclude=lost+found/ /. /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting 0 [EMAIL PROTECTED]:~# As you can see, without --relative deletion works well, with --relative it's not that simple to work around it (except the cd /, which doesn't not work in case you rsync some.host:/ :)). If you have an idea for another workaround, please let me know :) I meant to say I never encountered it, and there was a pretty simple workaround (drop the trailing slash). Your report that that doesn't help Well, this is not always that simple :) PS: CC: to rsnapshot-maintainer. regards Mario -- Programmieren in C++ haelt die grauen Zellen am Leben. Es schaerft alle fuenf Sinne: den Schwachsinn, den Bloedsinn, den Wahnsinn, den Unsinn und den Stumpfsinn. [Holger Veit in doc] signature.asc Description: Digital signature
Bug#317418: Updated Sarge package available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 9-Sep-06, at 9:32 AM, Mario 'BitKoenig' Holbe wrote: On Fri, Sep 01, 2006 at 06:53:30PM +0200, Paul Slootman wrote: Because I couldn't reproduce it, and I didn't want to close a bug report I was able to reproduce this bug with the latest rsync and rsnapshot from stable # rsync --version rsync version 2.6.4 protocol version 29 # rsnapshot rsnapshot 1.2.1 First rsnapshot run: # rsnapshot daily # ls -lR daily.0/test/test/ daily.0/test/test/: total 0 drwxr-xr-x 3 root root 14 2006-09-09 11:09 src daily.0/test/test/src: total 0 drwxr-xr-x 2 root root 30 2006-09-09 11:15 1 daily.0/test/test/src/1: total 0 - -rw-r--r-- 1 root root 0 2006-09-09 11:15 a - -rw-r--r-- 1 root root 0 2006-09-09 11:09 b - -rw-r--r-- 1 root root 0 2006-09-09 11:09 c Remove file 'a' from the source directory: # rm /test/src/1/a Second rsnapshot run: # rsnapshot daily # ls -lR daily.0/test/test/ daily.0/test/test/: total 0 drwxr-xr-x 3 root root 14 2006-09-09 11:09 src daily.0/test/test/src: total 0 drwxr-xr-x 2 root root 30 2006-09-09 11:15 1 daily.0/test/test/src/1: total 0 - -rw-r--r-- 2 root root 0 2006-09-09 11:15 a - -rw-r--r-- 2 root root 0 2006-09-09 11:09 b - -rw-r--r-- 2 root root 0 2006-09-09 11:09 c Rsnapshot used /usr/bin/rsync -a --delete --numeric-ids --relative -- delete-excluded /test/ /home/backup/test/daily.0/test/ I meant to say I never encountered it, and there was a pretty simple workaround (drop the trailing slash). Your report that that doesn't help Well, this is not always that simple :) A trailing slashes patch was introduced in rsnapshot 1.2.1-1.1 and later reviewed in 1.2.1-2, both went into unstable. This patch was to fix an issue with latest versions of GNU cp in testing/unstable. Now it seems you discovered a similar bug with the stable version of rsync. Please try installing the latest rsnapshot 1.2.9-1 from testing. Most of the code was reviewed in 1.2.9 and trailing slashes were completely removed. Thanks Simon -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFAuRy1jAZg9vxR6wRAtFtAJ4oWxSDyQqvBeB0HNi1G8G3YwIF6gCggnOp 4wpuImr7kZFVqUNKvsPPi/w= =6NIA -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
On Sat, Sep 09, 2006 at 11:57:34AM -0400, Simon Boulet wrote: On 9-Sep-06, at 9:32 AM, Mario 'BitKoenig' Holbe wrote: On Fri, Sep 01, 2006 at 06:53:30PM +0200, Paul Slootman wrote: Because I couldn't reproduce it, and I didn't want to close a bug report I was able to reproduce this bug with the latest rsync and rsnapshot from stable Yes, this might be the case because this is just not fixed in stable :) As Paul clearly states in the bug, btw. :) workaround (drop the trailing slash). Your report that that Well, this is not always that simple :) A trailing slashes patch was introduced in rsnapshot 1.2.1-1.1 and Well, my comment was more pointing to the fact that you simply *cannot* remove the trailing slash of / :) later reviewed in 1.2.1-2, both went into unstable. This patch was to fix an issue with latest versions of GNU cp in testing/unstable. Now it seems you discovered a similar bug with the stable version of rsync. Well, I'm running unstable :) ii rsnapshot 1.2.9-1local and remote filesystem snapshot utility ii rsync 2.6.8-2fast remote file copy program (like rcp) Just to make this clear: I did only CC: you because you are the (new) maintainer of rsnapshot and you've not been involved til now - in contrast to the old maintainers :) However, since this issue directly affects you you should at least know about it, IMHO :) I did not CC: you to fix this, because it is clearly a rsync problem, not a problem of rsnapshot. The latter is just affected. Mario -- [mod_nessus for iauth] delta scanning your system...found depreciated OS...found hole...installing new OS...please reboot and reconnect now signature.asc Description: Digital signature
Bug#317418: Updated Sarge package available
On Sat, Sep 09, 2006 at 03:32:08PM +0200, Mario 'BitKoenig' Holbe wrote: However, unfortunately it's not fully fixed either :/ I just stumbled over it while noticing that my rsnapshot root backup never gets any file deleted... Ah, I got a prompt answer from Wayne on the rsync list. I'll attach it. Mario -- delta talk softly and carry a keen sword ---BeginMessage--- On Sat, Sep 09, 2006 at 09:00:10PM +0200, Mario 'BitKoenig' Holbe wrote: [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --relative / /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting 0 This is a different bug that was recently fixed: using --relative with a root (/) filesystem and --delete was also failing to delete. The latest CVS source and recent nightly tar files have this fixed. Here's the bug (which has an attached patch): https://bugzilla.samba.org/show_bug.cgi?id=3929 ..wayne.. ---End Message--- signature.asc Description: Digital signature
Bug#317418: Updated Sarge package available
Hi, I just stumpled over this same bug. :-( My backup disks were spilling because rsync never deleted files! Unfortunately the patch provided by Serge doesn't work when rsync connects to an rsync-server. In that case the --delete option STILL doesn't work as expected. Leaving off the trailing slash doesn't help either. :-( Upstream has also been updated on this. Is there any way where this patch could go into Sarge? Yes, pleaaase. The bug is over a year old... Thanks, Andy. -- It pains me physically to see a woman victimized, rendered pathetic, by fashion. (Yves Saint Laurent, French designer) signature.asc Description: Digital signature
Bug#317418: Updated Sarge package available
On Fri 01 Sep 2006, Andy Spiegl wrote: Hi, I just stumpled over this same bug. :-( My backup disks were spilling because rsync never deleted files! Unfortunately the patch provided by Serge doesn't work when rsync connects to an rsync-server. In that case the --delete option STILL doesn't work as expected. Leaving off the trailing slash doesn't help either. :-( Upstream has also been updated on this. Is there any way where this patch could go into Sarge? Yes, pleaaase. The bug is over a year old... ... and has been fixed, in testing and unstable, for about just as long. stable is called stable because it basically doesn't change. Security fixes make it to point releases, but not simple bug fixes. (BTW, I have never seen the bug myself, and I run rsync on dozens of systems.) You may want to check out http://www.backports.org/ for a backported version of a modern rsync release that's suitable for your stable system. Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
... and has been fixed, in testing and unstable, for about just as long. Even in combination when connecting to a rsync server? But then why is the bug report still open? stable is called stable because it basically doesn't change. Security fixes make it to point releases, but not simple bug fixes. Well yes, but I'd consider this a pretty severe bug which would be worth fixing in sarge. (BTW, I have never seen the bug myself, and I run rsync on dozens of systems.) Then you are probably not using --relative. You may want to check out http://www.backports.org/ for a backported version of a modern rsync release that's suitable for your stable system. Thanks, I'll try that next week. But I can't find anything about it in the changelog of the package... Chau, Andy. -- I got rid of my husband. The cat was allergic. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
On Fri 01 Sep 2006, Andy Spiegl wrote: ... and has been fixed, in testing and unstable, for about just as long. Even in combination when connecting to a rsync server? But then why is the bug report still open? Because I couldn't reproduce it, and I didn't want to close a bug report I had not seen confirmed that it was fixed (although I'm pretty confident that it is). So if it works for you with the backports version, I'd love to hear it. stable is called stable because it basically doesn't change. Security fixes make it to point releases, but not simple bug fixes. Well yes, but I'd consider this a pretty severe bug which would be worth fixing in sarge. Unfortunately, that's not up to me :-( (BTW, I have never seen the bug myself, and I run rsync on dozens of systems.) Then you are probably not using --relative. That could be true :) That said, all my systems run the latest and greatest anyway... I meant to say I never encountered it, and there was a pretty simple workaround (drop the trailing slash). Your report that that doesn't help when connecting to an rsync server is news. You may want to check out http://www.backports.org/ for a backported version of a modern rsync release that's suitable for your stable system. Thanks, I'll try that next week. But I can't find anything about it in the changelog of the package... Did you check the rsync changelog? (I.e. not the Debian changelog; I won't list _all_ the rsync upstream changes in the Debian changelog...) If it's not there, then upstream probably forgot to mention it. As shown in http://lists.samba.org/archive/rsync/2005-April/012338.html upstream (that's Wayne) had fixed it, and I would be most surprised if that fix hadn't gone into the official source. Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317418: Updated Sarge package available
In can meanwhile confirm that this update also solves the problem in rsnapshot. Upstream has also been updated on this. Is there any way where this patch could go into Sarge? -- Serge van Ginderachter smime.p7s Description: S/MIME Cryptographic Signature
Bug#317418: Updated Sarge package available
I can confirm that the bug is solved with the patch earlier http://lists.samba.org/archive/rsync/2005-April/012338.html I updated the Sarge package - rsync version 2.6.4-6 with it and testrunned it using the --delete option, which works as expected. 'rsync_2.6.4-6.svg1_i386.deb' and full source can be downloaded here: http://www.vanginderachter.be/downloads/debian/ I tried to build this package the Debian way, but as my experience with customising debian packages is very limited, it might be good if some more people could verify. Also, don't hesitate on giving me any feedback I could learn from, thanks. I will further monitor the behavior of rsnapshot, which was broken in Sarge because of this bug. I expect that problem to be solved now in Sarge. HTH, -- Serge van Ginderachter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]