RE: Time and zone setting in RHEL3

From: Bordalo Fred (Fred.Bordalo_at_comverse.com)
Date: 09/21/05

  • Next message: Will McDonald: "Re: ssh alternatives"
    Date: Wed, 21 Sep 2005 11:41:29 -0400
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    Hi,

    I just went through this and I found that soft link does work - although
    in your case it because you use UTC. I recommend coping the file zone
    file instead of a soft link. This will work for local time
    configuration.

    The /etc/sysconfig/clock is read during boot by /etc/rc.sysinit to
    adjust the time. In your case, it will simply read the time without
    adjusting it.

    Fred

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com] On Behalf Of Jeff
    Sent: Wednesday, September 21, 2005 11:13 AM
    To: redhat-list@redhat.com
    Subject: Time and zone setting in RHEL3

    Ok, I know this should be dead simple but I just can't get the darn
    timezone and time correct on a new RHEL3 server i've just installed.

    I want it set for timezone GMT and the current GMT time.

    I can set the time no problem and i've manually edited the
    /etc/sysconfig/clock to have

    ZONE="GMT"
    UTC=true
    ARC=false

    I want both the system clock and hwclock to use UTC (or GMT) as the
    zone.

    using redhat-config-time doesn't give me an option for GMT or UTC.

    This is driving me nuts!

    so I moved /etc/localtime to /etc/localtime~ then set up a softlink to

    ln -s /usr/share/zoneinfo/GMT /etc/localtime

    then rebooted and everything once again appears correct in the world
    again. The question now is, is this the correct way to fix the problem?
    Will this create any more problems?
    why isn't there a tool that will do this? I mean what's the point of
    redhat-config-date if it doesn't allow you to set things the way you
    want? GMT isn't even an available timezone in that tool.

    does /etc/sysconfig/clock do anything anymore?

    Thanks,

    Jeff

    --
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    ______________________________________________________________________
      This email message has been scanned by PineApp Mail-Secure and has
    been found clean.
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Will McDonald: "Re: ssh alternatives"

    Relevant Pages

    • Re: Daylight Savings Time bug? Experts requested
      ... The BIOS clock is likely set to local ... True -- a program can also request UTC time, ... If the timezone update has or has not been ... When the zone cannot be set correct then the time ...
      (microsoft.public.windows.server.general)
    • Re: Time Zone application after strptime?
      ... How can I use the "PST" (or any other time zone name) ... correct number of hours to get it into UTC before storing in MySQL? ... I parse the PST time, and ask for the result's time zone it ... The reason for this is simple: UTC is the only stable timezone ...
      (comp.lang.python)
    • Re: Requiring a date be entered as mm/dd/yy on a form field.
      ... specify that they cannot calculate to that precision. ... Furthermore, UTC ... use whatever standard they are given. ... Most areas have some name that they use to refer to their timezone. ...
      (microsoft.public.scripting.jscript)
    • why cant i turn off fast_time?
      ... both for the local zone and for utc ... [surely, i can make the box do everything in utc, i thought]. ... then i calculate the correct timestamps myself in my apps. ... i wouldn't bother writing except that congress decided to meddle, ...
      (freebsd-questions)
    • Re: hwclock problem with leapseconds - posix?
      ... preferably i also want the rtc updated during normal running system, ... You are using modified TAI, ... I have no idea what a leapsecond respecting timezone is. ... served better by using UTC. ...
      (comp.os.linux.setup)