Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Redhat 4.2 install generates 2017 dates on many files
@ 1997-07-21 17:42 Drew Ronneberg
  1997-07-21 20:00 ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Ronneberg @ 1997-07-21 17:42 UTC (permalink / raw)


I installed Redhat 4.2 on a PC164, because many directories and symbolic
links with Redhat 4.1 had a date with the year 2017.  Unfortunately, the
kernel used to install Redhat 4.2 also thinks it is 2017 and installs the
directories and links with the wrong date.  Does anyone else have this
problem with a PC164? Also, is there anyway to set the clock in the
install phase without getting a message like, "cannot access I/O port"?

The wrong dates wouldn't bother me, but I think they confuse RPM when
upgrading packages.

Thanks,

Drew Ronneberg
drew@grieg.princeton.edu
 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 4.2 install generates 2017 dates on many files
  1997-07-21 17:42 Redhat 4.2 install generates 2017 dates on many files Drew Ronneberg
@ 1997-07-21 20:00 ` Michal Jaegermann
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1997-07-21 20:00 UTC (permalink / raw)


> 
> I installed Redhat 4.2 on a PC164, because many directories and symbolic
> links with Redhat 4.1 had a date with the year 2017.

Ugh!  Not again!

Arc console has a different idea how to read hardware clock
then your system (which follows the same conventions as SRM).
Unfortunately install procedure does not correct that before
starting write to a disk.

> Unfortunately, the
> kernel used to install Redhat 4.2 also thinks it is 2017 and installs the
> directories and links with the wrong date.

If this still happens that means that you configured your system
wrong by not telling it that you use ARC clock.  There is an extra
flag, -A, used by 'clock' on Alpha to "synchronize watches".  It is
used automatically by startup scripts IF your configuration is proper.
See 'man clock' for more details.

> The wrong dates wouldn't bother me, but I think they confuse RPM when
> upgrading packages.

After you set your clock and date properly:

touch /tmp/now_stamp
find <list_of_directories_to_update_here> -newer /tmp/now_stamp | xargs touch
rm /tmp/now_stamp

This will not change dates on symbolic links, and such operation
requires a bit more of care, but this should be a smaller worry.
Also all dates in the future will be changed to the current time
and not to original dates from archives.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1997-07-21 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-21 17:42 Redhat 4.2 install generates 2017 dates on many files Drew Ronneberg
1997-07-21 20: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