From: harlan <harlan@mail.ru> To: community@altlinux.ru Subject: [Comm] Проблема с системными часами. Date: Wed, 21 Apr 2004 15:52:51 +0700 Message-ID: <20040421155251.3557fb55.harlan@mail.ru> (raw) Народ, посмотрел тут флейм "Время", проблема очень похожа на мою, но точного решения проблемы не увидел. И так. Часы в биосе установлены по локальному времени (кроме линуха на машине ещё и винда, которая не знает что такое часовые пояса). /etc/sysconfig/clock: ARC = false UTC = false ZONE = "Asia/Almaty" Так как я живу в Казахстане. Разница с UTC +7 часов летом (часовой пояс ALMST) и +6 часов зимой (ALMT) /etc/rc.d/init.d/clock вызывается непосредственно из /etc/rc.d/rc.sysinit без участия chkconfig до вызова остальных демонов описанных в /etc/rc.d/init.d, ntpd отключен и не стартуется. При загрузке вижу следующую строчку: Setting system clock (localtime): Wed Apr 21 15:37:29 ALMST 2004 [ OK ] ... Далее пошёл запуск всех остальных демонов. Время в этой строчке показывается правильно. После загрузки и регистрации делаю # date Срд Апр 21 22:39:15 ALMST 2004 # service clock start Setting system clock (localtime): Wed Apr 21 15:39:40 ALMST 2004 [ OK ] # date Срд Апр 21 15:39:43 ALMST 2004 # exit login: root ... # date Срд Апр 21 15:41:33 ALMST 2004 # exit login: user ... $ date Срд Апр 21 15:42:14 ALMST 2004 Т.е. получается, что при загрузке системы время выставляется правильно, далее при старте какого-то демона Часы устанавливаются так, как-будто в биосе прописано время по UTC, а дальше всё работает нормально. Вопрос: как отловить, в каком месте происходит сброс времени?
next reply other threads:[~2004-04-21 8:52 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-21 8:52 harlan [this message] 2004-04-21 9:37 ` Aleksander N.Gorohovski 2004-04-21 12:09 ` [Comm]Проблема " Alexey Novikov
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=20040421155251.3557fb55.harlan@mail.ru \ --to=harlan@mail.ru \ --cc=community@altlinux.ru \ /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
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git