[ale] clock misset on boot

Geoffrey esoteric at 3times25.net
Wed Aug 21 17:57:59 EDT 2002


Just set your time in the biso to gmt and Linux will properly correct 
the computer time.  That is, unless it's a dual boot....

Sean Kilpatrick wrote:
> Trivial problem, but it still bugs me! :)
> 
> When I boot Linux the boot process resets the box to GMT/UTC and
> I must add four hours to the clock. It doesn't mess with the
> date or the minutes/seconds, just the hour.
> 
> The only clue I can find is this line from the boot log:
> 
> Aug 21 15:38:38 localhost rc.sysinit: Setting clock  (localtime): Wed Aug 21 
> 15:38:28 UTC 2002 succeeded 
> 
> looking at rc.sysinit I see the script contains these lines:
> 
> ------------------------- <begin copy> ---------------------------
> # Set the system clock.
> ARC=0
> SRM=0
> UTC=0
> 
> 
> if [ -f /etc/sysconfig/clock ]; then
>    . /etc/sysconfig/clock
> 
> 
>    # convert old style clock config to new values
>    if [ "${CLOCKMODE}" = "GMT" ]; then
>       UTC=true
>    elif [ "${CLOCKMODE}" = "ARC" ]; then
>       ARC=true
>    fi
> fi
> 
> ----------------------- <end copy> ------------------------------
> 
> I _think_ my question is where does re.sysinit find the variable
> CLOCKMODE?  Given the results I believe that variable is set to
> GMT rather than EDT.
> 
> Sean
> 
> 
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
> 


-- 
Until later: Geoffrey		esoteric at 3times25.net

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list