Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Incorrect dates after installation
@ 1999-02-10  5:00 Tony Carr-Smith
  1999-02-20  5:00 ` Shana Tackett
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Carr-Smith @ 1999-02-10  5:00 UTC (permalink / raw)


Having just spent HOURS learning how to do a Redhat 5.2 Install on an
Alpha 164LX, I have come across a small problem whereby many of the
files have dates in the year 2017 !! A customer of ours tried his
install (again the Alpha version) with similar problems.

Can anyone shed any light on this anomaly ?

Tony



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Incorrect dates after installation
  1999-02-10  5:00 Incorrect dates after installation Tony Carr-Smith
@ 1999-02-20  5:00 ` Shana Tackett
  1999-02-20  5:00   ` Shane Steven Sturrock
  0 siblings, 1 reply; 6+ messages in thread
From: Shana Tackett @ 1999-02-20  5:00 UTC (permalink / raw)


Check the file /etc/sysconfig/clock. It should have the following lines in
it:

UTC=false
ARC=true

Tony Carr-Smith wrote in message
<36c1c714.19621951@news.netdirect.net.uk>...
>Having just spent HOURS learning how to do a Redhat 5.2 Install on an
>Alpha 164LX, I have come across a small problem whereby many of the
>files have dates in the year 2017 !! A customer of ours tried his
>install (again the Alpha version) with similar problems.
>
>Can anyone shed any light on this anomaly ?
>
>Tony





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Incorrect dates after installation
  1999-02-20  5:00 ` Shana Tackett
@ 1999-02-20  5:00   ` Shane Steven Sturrock
  1999-02-23  5:00     ` Shana Tackett
  0 siblings, 1 reply; 6+ messages in thread
From: Shane Steven Sturrock @ 1999-02-20  5:00 UTC (permalink / raw)


On 20 Feb 1999 03:35:47 GMT, Shana Tackett <sltackett@worldnet.att.net> wrote:
>Check the file /etc/sysconfig/clock. It should have the following lines in
>it:
>
>UTC=false
>ARC=true

This will fix the date after install but all the files put on disc during
install will have the wrong date.  The solution is to copy the date binary
to a floppy and when you do the install you can mount the floppy before you
actually start installing files (do this before you mount the CD) and run
date to set the correct date and time.  Then carry on with the install as
normal, on my UDB this work fine and the dates of all my files reflect
when I did the install rather than giving dates of 2018.

RedHat really should add an option to do this to their install process
because it is something which annoys the hell out of a lot of people.

-- 
Dr. Shane Sturrock - http://nova.bru.ed.ac.uk/~sss
Linux, a better WinNT than WinNT



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Incorrect dates after installation
  1999-02-20  5:00   ` Shane Steven Sturrock
@ 1999-02-23  5:00     ` Shana Tackett
  1999-02-26  5:00       ` Shane Steven Sturrock
  0 siblings, 1 reply; 6+ messages in thread
From: Shana Tackett @ 1999-02-23  5:00 UTC (permalink / raw)


You could also run the following command after fixing the date:

find / -name '*' -exec touch {} \;

as root immediately after install.

Shane Steven Sturrock wrote in message ...
>On 20 Feb 1999 03:35:47 GMT, Shana Tackett <sltackett@worldnet.att.net>
wrote:
>>Check the file /etc/sysconfig/clock. It should have the following lines in
>>it:
>>
>>UTC=false
>>ARC=true
>
>This will fix the date after install but all the files put on disc during
>install will have the wrong date.  The solution is to copy the date binary
>to a floppy and when you do the install you can mount the floppy before you
>actually start installing files (do this before you mount the CD) and run
>date to set the correct date and time.  Then carry on with the install as
>normal, on my UDB this work fine and the dates of all my files reflect
>when I did the install rather than giving dates of 2018.
>
>RedHat really should add an option to do this to their install process
>because it is something which annoys the hell out of a lot of people.
>
>--
>Dr. Shane Sturrock - http://nova.bru.ed.ac.uk/~sss
>Linux, a better WinNT than WinNT





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Incorrect dates after installation
  1999-02-23  5:00     ` Shana Tackett
@ 1999-02-26  5:00       ` Shane Steven Sturrock
  1999-02-27  5:00         ` Michal Jaegermann
  0 siblings, 1 reply; 6+ messages in thread
From: Shane Steven Sturrock @ 1999-02-26  5:00 UTC (permalink / raw)


On 23 Feb 1999 03:19:59 GMT, Shana Tackett <sltackett@worldnet.att.net> wrote:
>You could also run the following command after fixing the date:
>
>find / -name '*' -exec touch {} \;
>
>as root immediately after install.

Not quite as nice as actually getting the dates right in the first
place though.

-- 
Dr. Shane Sturrock - http://nova.bru.ed.ac.uk/~sss
Linux, a better WinNT than WinNT



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Incorrect dates after installation
  1999-02-26  5:00       ` Shane Steven Sturrock
@ 1999-02-27  5:00         ` Michal Jaegermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1999-02-27  5:00 UTC (permalink / raw)


Shane Steven Sturrock (sss@bivalve.wsn.ed.ac.uk) wrote:
: On 23 Feb 1999 03:19:59 GMT, Shana Tackett <sltackett@worldnet.att.net> wrote:
: >You could also run the following command after fixing the date:
: >
: >find / -name '*' -exec touch {} \;
: >
: >as root immediately after install.

: Not quite as nice as actually getting the dates right in the first
: place though.

And, on the top of it, will reset dates on files you created
yourself and which have correct time.  Definitely undesirable.

I have no idea what is a purpose of spreading a buggy info in newsgroups
when better approaches were posted quite a few times before.
FYI - find has an option like '-newer'.  Check man page.
A while ago was also a small C program was posted which will back date
dates on files by a number of whole years.  The same can be achieved,
if desired, by beeing a tad more creative with a shell and 'touch'
(or easily with Perl, for that matter).

  --mj




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-02-27  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-10  5:00 Incorrect dates after installation Tony Carr-Smith
1999-02-20  5:00 ` Shana Tackett
1999-02-20  5:00   ` Shane Steven Sturrock
1999-02-23  5:00     ` Shana Tackett
1999-02-26  5:00       ` Shane Steven Sturrock
1999-02-27  5:00         ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox