unarchive 515731 found 515731 coreutils/7.5-4 retitle 515731 does not fallback utimensat() when cp'ing symlinks thanks
On an up-to-date sid chroot, running on a etch system (yes, I should upgrade, I know): # cp -dp /lib/libc.so.6 /root/ cp: preserving times for `/root/libc.so.6': Function not implemented relevant strace excerpt: readlink("/lib/libc.so.6", "libc-2.9.so", 12) = 11 symlink("libc-2.9.so", "/root/libc.so.6") = 0 lchown32("/root/libc.so.6", 0, 0) = 0 utimensat(AT_FDCWD, "/root/libc.so.6", {{1252628891, 0}, {1252285776, 0}}, AT_SYMLINK_NOFOLLOW) = -1 ENOSYS (Function not implemented) It seems to only happen on symlinks; the same for cp -dp /bin/cp /root: read(3, "", 32768) = 0 utimensat(4, NULL, {{1252628991, 0}, {1252458064, 0}}, 0) = -1 ENOSYS (Function not implemented) utimensat(4, NULL, {{1252628991, 0}, {1252458064, 0}}, 0) = -1 ENOSYS (Function not implemented) utimes("/proc/self/fd/4", {{1252628991, 0}, {1252458064, 0}}) = 0 (and obviously not failing). Thanks, Faidon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org