-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 11/24/2009 6:04 AM: > It looks like those are cases of an old kernel that can't set timestamps > on symlinks. Does the kernel support lutimes?
Also, does utimensat(AT_FDCWD,"file",NULL,0) work, and it is just the AT_SYMLINK_NOFOLLOW variant that fails with ENOSYS? If so, I see at least one problem in lib/utimens.c - it shares a static variable between lutimens and fdutimens, which means that if lutimens detects AT_SYMLINK_NOFOLLOW failure, then fdutimens fails to even try utimensat in the future. > Those two failing tests (touch/no-dereference and touch/trailing-slash) seems > to be new in coreutils test-suite (added in 8.1), so the issue was likely > there even before 8.1 and now shows in koji... Both failures depend on 'touch -h', which is new to coreutils 8.1; there is no regression, because prior to coreutils 8.1, you couldn't request the use of AT_SYMLINK_NOFOLLOW in the first place. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksL36IACgkQ84KuGfSFAYBIhwCgyLuy0+wESjw7+mNPHQiQiL9w kPsAoIGvzGmGDs8ciE0Jj1sOfFlMyLrB =MXI6 -----END PGP SIGNATURE-----
