Bug 3705

Summary: "date" gets munged
Product: [Retired] Red Hat Linux Reporter: michael.waite
Component: clockAssignee: Cristian Gafton <gafton>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-25 03:08:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description michael.waite 1999-06-24 14:04:56 UTC
We are constantly haveing to re-enter the correct date on
our AlphaServer1200. This is a major problem for us as we y
monitor system access. Aslo nis dies when the date is
drastically different than that of the server.
When we setup the system we told it to get it's time from
the "alpha bios". We do not have a problem with "date" on
Tru64 UNIX nor NT (Alpha) there fore I am assuming that
date does not work correctly on RedHat Linux 6.0 (Alpha)
It's not so much the time but the year keeps jumping ahead
to "2079"

Comment 1 Bill Nottingham 1999-06-24 16:18:59 UTC
Does it boot through the ARC or SRM console?

------- Email Received From  "Waite, Michael" <Michael.Waite@compaq.com> 06/24/99 12:24 -------

Comment 2 Bill Nottingham 1999-06-24 19:11:59 UTC
Does it jump forward only on reboots, or spontaneously during
normal use?

If it only jumps on reboots, you might want to force the SRM
mode on 'clock' - apply the following patch to /etc/rc.d/rc.sysinit:

--- rc.sysinit.foo	Thu Jun 24 15:07:58 1999
+++ rc.sysinit	Thu Jun 24 15:08:47 1999
@@ -307,6 +307,7 @@
 rm -f /tmp/.s.PGSQL.*

 # Set the system clock.
 if [ -f /etc/sysconfig/clock ]; then
@@ -342,6 +343,12 @@
      CLOCKDEF="$CLOCKDEF (arc)";
+   ;;
+ esac
+ case "$SRM" in
+   yes|true)
+     CLOCKDEF="$CLOCKDEF (srm)";

and then add a line that says 'SRM=true' to /etc/sysconfig/clock.
Does that help at all?

Comment 3 Bill Nottingham 1999-09-25 03:08:59 UTC
Closed, lack of input.