From: Eugine Kosenko <eugine.kosenko@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как указать ntpd, чтобы он устанавливал аппаратные часы в локальное время, а не utc?
Date: Wed, 22 Apr 2015 17:53:01 +0300
Message-ID: <CAB_XSX3MfK=0exEiaj1jQUxN-v8W+T+v=S+ZbanC6Vj_tnmoCw@mail.gmail.com> (raw)
In-Reply-To: <55369E80.7070606@rambler.ru>
2015-04-21 22:01 GMT+03:00, Kharitonov A. Dmitry <kharpost@rambler.ru>:
> ntpd и ntpdate аппаратные часы никогда не трогают.
> Аппаратные часы могут изменяться при остановке сервиса clock, если это
> разрешено в /etc/sysconfig/clock
> hwclock -w записывает время в аппаратные часы.
> для проверки надо использовать hwclock -r
В том и беда, что эта версия была проверена в первую очередь.
Аппаратные часы меняются, это подтверждает то, что если уже после
загрузки системы запустить ntpd вручную и проверить hwclock до и
после, то сразу будет видна разница:
# hwclock
Wed Apr 22 17:50:41 2015 -0.157708 seconds
# service ntpd start
Starting ntpd service:
[ DONE ]
# sudo hwclock
Wed Apr 22 14:50:31 2015 -1.021520 seconds
Вот так вот.
next prev parent reply other threads:[~2015-04-22 14:53 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
2015-04-21 19:01 ` Kharitonov A. Dmitry
2015-04-22 14:53 ` Eugine Kosenko [this message]
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='CAB_XSX3MfK=0exEiaj1jQUxN-v8W+T+v=S+ZbanC6Vj_tnmoCw@mail.gmail.com' \
--to=eugine.kosenko@gmail.com \
--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