From: Sergey <a_s_y@sama.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Опять системное время и таймзона.
Date: Wed, 17 Jun 2015 16:32:45 +0400
Message-ID: <201506171632.45868.a_s_y@sama.ru> (raw)
In-Reply-To: <55814D6B.4080708@rambler.ru>
On Wednesday 17 June 2015, Kharitonov A. Dmitry wrote:
> >
> >
> > И, если используется ntpd, есть третий вариант:
> >
> > 1. hwclock не использовать никогда, чтобы adjtime не создавался (а RTC
> > ядро синхронизировать будет всё равно)
> > 2. rm -f /etc/adjtime
> > 3. sed "s/^HWCLOCK_SET_TIME_AT_START.*/HWCLOCK_SET_TIME_AT_START=false/" -i /etc/sysconfig/clock
> >
> А ядро-то у вас какое?
Да не важно. Это важно только ввиду умения новых ядер сделать
коррекцию за пределами 15-и минут.
> user@eee2 ~ 9:23:46> uname -r
> 3.14.38-std-def-alt1
> user@eee2 ~ 13:30:22> date
> Ср июн 17 13:30:28 MSK 2015
> user@eee2 ~ 13:30:28> sudo hwclock -r
> [sudo] password for user:
> Wed Jun 17 13:30:50 2015 -0.137856 seconds
> user@eee2 ~ 13:31:07> cat /etc/adjtime
> -242.054684 1434436959 0.000000
> 1434436959
> LOCAL
>
> Всё работает как "часы" и в локальном времени.
"HWCLOCK_SET_TIME_AT_START=true", значит. Или Вы хотите сказать, что у
Вас ещё и ntpd работает при Вашем варианте ? Если да, то какой ? Может,
надо ещё openntpd проверить на этот счёт, я только с ntpd проверял.
Может быть, openntpd с sys_tz и persistent_clock_is_local не так работает,
как ntpd.
И покажите "date && hwclock -r" при отодвинутом в сторону adjtime.
--
С уважением, Сергей.
next prev parent reply other threads:[~2015-06-17 12:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 11:40 Sergey
2015-05-26 4:49 ` Sergey
2015-06-16 8:39 ` Sergey
2015-06-16 10:17 ` Sergey
2015-06-17 10:35 ` Kharitonov A. Dmitry
2015-06-17 12:32 ` Sergey [this message]
2015-06-18 13:51 ` Kharitonov A. Dmitry
2015-06-18 14:11 ` Sergey
2015-06-18 14:34 ` Kharitonov A. Dmitry
2015-06-19 6:56 ` Sergey
2015-06-18 14:43 ` Mikhail Efremov
2015-06-19 6:52 ` Sergey
2015-06-20 12:50 ` Kharitonov A. Dmitry
2015-06-20 16:17 ` Sergey
2015-06-20 17:06 ` Sergey
2015-06-21 15:14 ` Kharitonov A. Dmitry
2015-06-21 18:16 ` Sergey
2015-06-25 10:11 ` Kharitonov A. Dmitry
2015-06-26 6:58 ` Sergey
2015-06-26 10:10 ` Kharitonov A. Dmitry
2015-06-26 10:45 ` 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=201506171632.45868.a_s_y@sama.ru \
--to=a_s_y@sama.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