Re: Files are being stamped with a future time to the system time
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: Mon, 09 Apr 2007 02:36:11 GMT
ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin) writes:
On Sun, 08 Apr 2007, in the Usenet newsgroup comp.os.linux.misc, in article
<nPcSh.3946$Uf7.2273@edtnps89>, Unruh wrote:
ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin) writes:
Mark Hobley wrote:
Sat Apr 7 22:33:01 BST 2007
Sat Apr 7 21:33:01 UTC 2007
That looks fine - but TZ is a shell environmental variable that takes
precedence over a tzset (timezone) setting, AND it can be invoked on a
'by shell' basis. Try doing the time check in the same terminal you are
editing those files.
I would find it very ver weird if TZ were producing a 75 sec or 2 min
problem.
man tzset
Setting the TZ variable for a two minute error is trivial. Using
the more recent version (ex. the one in tzcode2007e), even a 75 second
offset is trivial - try 'man 3 newtzset'
The chances of his having tzcode2007e which has been out for what is it, a
day, is negligible.
Again I would guess that he would have remembered setting up such a TZ.
The OP would have had to have created his own tzdata file giving the
time as 0:02 from UTC and then compiled it with zic and installed it.
Surely he would have remembered doing so.
man tzset If he had compiled a zone with a bogus offset, unless
he were only declaring that tzfile through a TZ variable, it would
effect all shells the same way. Note the time shown at the top of
this article - one hour exactly.
Yes, that was what I meant-- his TX variable pointed at this "special" zone
file.
You wrote in your original post that this is a "local ext2 filesystem".
Are all of the files that 'make' is going to use located on "this"
computer? If not, that's likely a network time issue.
Sounds like it is more likely. Not sure which time is used for a file
on an nfs filesystem where the times on the local machine on which the
file was created and the remote machine on which the files were
actually stored differ.
This depends on the implementation. I see file times on the server
as being server time - they go over the net as UNIX time (seconds
since 00:00:00 UTC 1/1/1970) and get a local correction via the
timezone or TZ variable ON THE CLIENT. This has always been a picky
problem with network file systems. That's why we've been using a
time sync every hour on all servers since, I dunno, 1985? RFC0868
dates back to 1983.
OK, just tried it. It is the time on the server that the file gets. (set
the time ahead on a client, touched a file on the nfs system, and got the
mtime on the file as the server's time)
( at least on Mandriva 2007).
Old guy.
- Follow-Ups:
- References:
- Files are being stamped with a future time to the system time
- From: Mark Hobley
- Re: Files are being stamped with a future time to the system time
- From: Moe Trin
- Re: Files are being stamped with a future time to the system time
- From: Mark Hobley
- Re: Files are being stamped with a future time to the system time
- From: Moe Trin
- Re: Files are being stamped with a future time to the system time
- From: Unruh
- Re: Files are being stamped with a future time to the system time
- From: Moe Trin
- Files are being stamped with a future time to the system time
- Prev by Date: Re: able to download helios mkisofs?
- Next by Date: Re: No video or garbage in text mode after compiling new kernel
- Previous by thread: Re: Files are being stamped with a future time to the system time
- Next by thread: Re: Files are being stamped with a future time to the system time
- Index(es):
Relevant Pages
|