You are not logged in.
Pages: 1
Hi all,
I have a problem with the new version of rsync (2.6.9-3):
now with my backup script I obtain this error:
rsync: failed to set times on "<some link>": Function not implemented (38)
repeated some times.
I found this bug report: https://bugzilla.samba.org/show_bug.cgi?id=4977
The kernel installed on my machine (it's a server) is 2.6.19-ARCH, so I think the problem is related
with lutimes support that is present only in kernel >=2.622
It's not a big problem because I can recompile rsync package with my kernel version.
With the previous version (2.6.9-1) the script works correctly
Offline
It seems that the problem persists even after I recompiled the package against my kernel version (2.6.19).
I also disabled the lutimes support but without success.
Someone have the same problem?
Last edited by luca (2007-10-07 05:58:36)
Offline
Yes same problem. Somewhat irritating. I don't have time to change my servers kernel at the moment and I can't change my laptops kernel because I need realtime.
Even changing config.h doesn't make it go away. WHY NOT?!
Apparently rsync 3 has fixed this. Why isn't rsync 3 in the repo?
Offline
Why isn't rsync 3 in the repo?
Maybe because it is still a beta version?
From the rsync website: "Rsync 3.0.0pre5 available for release testing"
You know..it wouldn't take much work for you to modify the pkgbuild, and rebuild it yourself...if you want to use a beta version.
I certainly wouldn't want the Arch repository version of rsync to be a beta release. I consider it a pretty damn important package.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
AHA! Problem solved. I think you probably did that same thing I did. Changing "#define HAVE_LUTIMES 1" to #define HAVE_LUTIMES 0" doesn't work. You have to change it to "#undef HAVE_LUTIMES".
I prefer to have a patch to do it so that I can still use makepkg. Put the following in a file called rsync-config.h-lutimes.patch in the same dir as the PKGBUILD:
--- config.h.old
+++ config.h
@@ -192 +192 @@
-#define HAVE_LUTIMES 1
+#undef HAVE_LUTIMES
And then add the following line to the pkgbuild between ./configure and make:
patch < ../../rsync-config.h-lutimes.patch
A bit annoying still, but at least there is a fix.
You could probably use sed instead, but I have no idea how to do that so I'll stay away.
Last edited by SystemParadox (2007-11-21 19:48:31)
Offline
You could probably use sed instead, but I have no idea how to do that so I'll stay away.
sed -i 's/#define HAVE_LUTIMES 1/#undef HAVE_LUTIMES/g' config.h
Putting that in the same place that you put the 'patch < ....' line should do the same thing, but without needing the patch file.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1