From: Mikhail Efremov <sem@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное время, а не utc?
Date: Tue, 21 Apr 2015 20:27:25 +0300
Message-ID: <20150421202725.2b91d854@sem.office.altlinux.ru> (raw)
In-Reply-To: <CAB_XSX3-A+O5vReM2y8551Nj+WU9Td0N2nPaCw-1L=pG4rf-2Q@mail.gmail.com>
On Tue, 21 Apr 2015 17:26:22 +0300 Eugine Kosenko wrote:
> На машине используется дуалбут ALT Linux Sisyphus и Windows XP,
> поэтому аппаратные часы приходится держать установленными в локальное
> (московское) время. При этом в /etc/sysconfig/clock прописано
> "UTC=false" и "ZONE=Europe/Moscow".
>
> Только при первом запуске (как правило, при загрузке системы) ntpd
> почему-то записывает в аппаратные часы время UTC, хотя системное время
> остается правильным --- локальным. После этого любой перезапуск ntpd
> не влияет на аппаратные часы. Это проверено вызовом "hwclock -w
> --local" с последующим перезапуском ntpd. Аппаратное время остается
> без изменений.
systemd? Какой ntpd, просто ntpd или openntpd?
cat /etc/adjtime
--
WBR, Mikhail Efremov
next prev parent reply other threads:[~2015-04-21 17:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 14:26 Eugine Kosenko
2015-04-21 14:32 ` Michael Shigorin
2015-04-21 17:29 ` Mikhail Efremov
2015-04-21 19:27 ` Michael Shigorin
2015-04-22 5:40 ` [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное =?koi8-r?b?INfSxc3R?=, " Sergey
2015-04-27 11:27 ` Sergey
2015-04-21 14:45 ` [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное время, " Ruslan Hihin
2015-04-21 14:54 ` Ruslan Hihin
2015-04-22 15:04 ` Eugine Kosenko
2015-04-21 17:27 ` Mikhail Efremov [this message]
2015-04-21 19:01 ` Kharitonov A. Dmitry
2015-04-22 14:53 ` Eugine Kosenko
2015-04-23 19:49 ` Kharitonov A. Dmitry
2015-04-24 18:38 ` [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное =?koi8-r?b?INfSxc3R?=, " Hihin Ruslan
2015-04-22 14:58 ` [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное время, " Eugine Kosenko
2015-04-24 13:48 ` Mikhail Efremov
2015-04-27 11:21 ` [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное =?koi8-r?b?INfSxc3R?=, " Sergey
2015-04-27 11:34 ` [Comm] про письма в две рассылки Sergey
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=20150421202725.2b91d854@sem.office.altlinux.ru \
--to=sem@altlinux.ru \
--cc=community@lists.altlinux.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
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