From: Sergey <a_s_y@sama.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] p7, проблема с часами: убегание RTC в UTC
Date: Mon, 10 Mar 2014 16:14:53 +0400
Message-ID: <6090332.DOgpvDsrzn@asy-nb.localdomain> (raw)
In-Reply-To: <201403091705.18093.a_s_y@sama.ru>
Давайте, всё же, вылезем из глубин треда про starterkits. :-)
On Sunday 09 of March 2014 17:05:17 Sergey wrote:
> Куда думать дальше, пока не знаю. На случай всякой фантастики, указал
> чипсеты...
Ага... Вот после этого
http://lists.altlinux.org/pipermail/community/2014-March/681844.html
примерно понятно, откуда такая сложная зависимость: и от /etc/adjtime,
и от версии ядра сразу. Весь вечер вчера и так, и эдак пробовал. Глаза
были слегка удивлённые. :-)
On Monday 10 of March 2014 13:09:44 Sergey Vlasov wrote:
> Вообще при наличии синхронизации с NTP-сервером ядро уже давно каждые
> 11 минут обновляет время в RTC.
А откуда оно берёт данные, что есть синхронизация ? Ведь это происходит
и тогда, когда ntpd отключен. Или это всё тот же /etc/adjtime ? Или,
вообще, всегда бытается rtc с системными часами синхронизировать ?..
> Однако, начиная с 3.10, из ядра выпилили код, который пытался
> обновлять в RTC только минуты и секунды, чтобы обновление работало
> независимо от часового пояса (но в этом случае не могло быть
> исправлено расхождение более чем на 15 минут):
Пытаюсь переварить... Это в смысле, когда разные ОС в дуалбуте по
разному хотят время в RTC ? То есть, наоборот, выпилили не минуты
и секунды, а часы ? :-)
> В нормально сконфигурированной системе этим занимается systemd:
>
> Mar 10 11:05:07 atlas.home systemd[1]: RTC configured in localtime, applying delta of 240 minutes to system time.
> Mar 10 11:05:07 atlas.home systemd[1]: systemd 201 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP -GCRYPT +ACL +XZ)
Повторю вопрос REAL: а если systemd нет ? Хотя... Есть systemd-udev.
Этот код в каком месте systemd ?
--
С уважением, Сергей
next prev parent reply other threads:[~2014-03-10 12:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-09 13:05 [Comm] p7, проблема с часами: убегание RTC в UTC ( было: p7 starterkits (sysv-tde) ) Sergey
2014-03-10 12:14 ` Sergey [this message]
2014-03-10 12:30 ` [Comm] p7, проблема с часами: убегание RTC в UTC Anton Gorlov
2014-03-10 16:51 ` Sergey
2014-03-10 15:16 ` 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=6090332.DOgpvDsrzn@asy-nb.localdomain \
--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