Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14538] New: coreutils-6.12 - touch uses unknown system call utimensat

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14538] New: coreutils-6.12 - touch uses unknown system call utimensat
  • Date: 9 Jun 2008 22:57:20 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14538

Summary: coreutils-6.12 - touch uses unknown system call
utimensat
Product: Codex
Version: test grimoire
Platform: All
URL: http://lists.gnu.org/archive/html/bug-coreutils/2008-
06/msg00022.html
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: utils
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: ryuji AT sourcemage.org


touch a
touch: setting times of `a': Function not implemented

open("a", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, 0666) = 3
dup2(3, 0) = 0
close(3) = 0
utimensat(0, NULL, NULL, 0) = -1 ENOSYS (Function not implemented)
close(0) = 0
write(2, "touch: ", 7touch: ) = 7
write(2, "setting times of `a\'", 20setting times of `a') = 20
write(2, ": Function not implemented", 26: Function not implemented) = 26
write(2, "\n", 1
) = 1
close(1) = 0
close(2) = 0
exit_group(1) = ?

touch from coreutils-6.12 tries to use utimensat, but does not cope under the
following circumstances:

build coreutils-6.12 with glibc-2.7 (our current glibc; includes 2.6.23 kernel
headers) and use a linux kernel that doesnt support the utimensat call, ex.
2.6.18 (like dkowis' Xen box for those who have access)... this will make the
utimensat() fail with ENOSYS.

There is a patch on upstream's mailing list, located at:
http://lists.gnu.org/archive/html/bug-coreutils/2008-06/msg00034.html

Said patch does not apply cleanly, after looking around, I found:
http://bugs.gentoo.org/show_bug.cgi?id=224483

The patch they provide is the same, only modified to apply cleanly against a
6.12 release of coreutils.

The patch itself: http://bugs.gentoo.org/attachment.cgi?id=155835

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 14538] New: coreutils-6.12 - touch uses unknown system call utimensat, bugzilla-daemon, 06/09/2008

Archive powered by MHonArc 2.6.24.

Top of Page