[Bug 301355] New: glibc bug with utimensat (rsync fails on stable)
https://bugzilla.novell.com/show_bug.cgi?id=301355
Summary: glibc bug with utimensat (rsync fails on stable)
Product: openSUSE 10.3
Version: Beta 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: pbaudis@novell.com
ReportedBy: cthiel@novell.com
QAContact: qa@suse.de
CC: aj@novell.com, ro@novell.com, schwab@novell.com
Found By: ---
Ruediger Oertel
rsync currently fails to build in stable. After a little debugging we found that it builds on recent kernels but not on <= SLES10
we got to this:
./sysdeps/unix/sysv/linux/kernel-features.h defines __ASSUME_UTIMENSAT depending on the kernel version we are building the glibc for. Since the glibc is build for down to 2.6.4, this is "0".
in ./sysdeps/unix/sysv/linux/futimes.c there is a nice implementation for a fallback if utimensat get's enosys.
no the other hand: in ./sysdeps/unix/sysv/linux/lutimes.c there is no fallback implementation and the call to lutimes fails for any kernel that does not support the syscall yet.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=301355#c1
--- Comment #1 from Christoph Thiel
Quick check: Does disabling lutimes in rsync help? I mean:
#undef HAVE_LUTIMES
Yes, it helps. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=301355#c2
--- Comment #2 from Andreas Schwab
https://bugzilla.novell.com/show_bug.cgi?id=301355#c3
--- Comment #3 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=301355#c4
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=301355#c5
--- Comment #5 from Andreas Schwab
https://bugzilla.novell.com/show_bug.cgi?id=301355#c6
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=301355#c7
Andreas Schwab
https://bugzilla.novell.com/show_bug.cgi?id=301355#c8
Petr Baudis
participants (1)
-
bugzilla_noreply@novell.com