linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karunambaran A <sangel@eth.net>
To: linux-admin@vger.kernel.org
Subject: Problem in clock setting
Date: Sat, 31 May 2003 04:22:32 +0530	[thread overview]
Message-ID: <20030531042233.713c7bf9.sangel@eth.net> (raw)


   Hi,
         I have installed RedHat Linux 9.0 in my home PC. My BIOS clock
is set to local time. During installation of RH 9.0 I have selected my
time zone as Asia/Calcutta and the UTC box unchecked. But while booting
I am getting the message as if the hardware clock is set UTC and as a
result the system clock is set 5 hrs 30 minutes more to make it
IST(Asia/Calcutta). But since my hardware clock is already IST
localtime it results a wrong system clock. I am able to solve the
problem by adding the command  "/sbin/hwclock --hctosys  " at the end
of  /etc/rc.d/rc.sysinit file ( before the  " wait " ).
                                                                        
                   In rc.sysinit file there is one command
" /sbin/hwclock $CLOCKFLAGS "
  I have echoed the CLOCKFLAGS  variable and it shows as I expected
the following
                                                                        
            --hctosys  --localtime
                                                                        
                               My question is why the time is recognized
as UTC ?( Other OS in my PC does not have any problem in the clock.  I
have been installing all RH versions since 6.2 and this problem is for
the first time. Also, in my office PC I installed RH 9.0 and the clock
is fine)
                                                                        
                   Thanks in advance for any reply.
                                                                        
              Sorry if I am not properly conveying my problem.

             reply	other threads:[~2003-05-30 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30 22:52 Karunambaran A [this message]
2003-06-03  8:56 ` Problem in clock setting Glynn Clements
2003-06-04 12:09   ` Karunambaran A
  -- strict thread matches above, loose matches on Subject: below --
2003-06-02  6:46 Andrew Lister

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030531042233.713c7bf9.sangel@eth.net \
    --to=sangel@eth.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).