ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yura Zotov <yz@altlinux.ru>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Время, hwclock, баг?
Date: Mon, 24 Nov 2003 14:53:31 +0300
Message-ID: <20031124115331.GA18175@home-pool4-75.com2com.ru> (raw)
In-Reply-To: <20031124110839.GA4389@basalt.office.altlinux.org>

On Mon, Nov 24, 2003 at 02:08:39PM +0300, Dmitry V. Levin wrote:
> On Mon, Nov 24, 2003 at 01:54:23PM +0300, Yura Zotov wrote:
> > НА системе с Master-2.0 (другой "чистой" у меня нет) команда
> > hwclock оаботает понятным образом:
> > 
> > # hwclock --localtime --show
> > Mon Nov 24 10:48:10 2003  0.779646 seconds MSK
> >  
> > # hwclock --utc --show
> > Mon Nov 24 13:48:18 2003  0.799692 seconds MSK
> > 
> > т.е. правильным образом реагирует на опции --localtime и --utc. 
> > 
> > У меня дома на Сизифе 20031109 она работает неправильно:
> > 
> > # hwclock --localtime --show
> > Mon Nov 24 13:50:35 2003  -0.248270 seconds MSK
> > 
> > # hwclock --utc --show
> > Mon Nov 24 13:51:03 2003  -0.797569 seconds MSK
> > 
> > т.е. не реагирует на опции --localtime и --utc.
> > 
> > Заметил я это случайно. Поставил товарищу Junior а потом обновил из
> > Сизифа. Время ушло на 3 часа вперёдб так как в CMOS прописано
> > localtime. К сожалению, workaround с установкой в CMOS времени в
> > utc не устраивает, потому что у товарищя ещё есть виндовс.
> > 
> > Это на самом деле баг или я где-то ошибаюсь? Если баг, то когда
> > исправят?
> 
> Это похоже на #3188?

Да, это одно и тоже. Правда, таких подробных исследований, какие
описаны в #3188, я не проводил. Могу только сказать, что когда
/etc/localtime не было вовсе, то время устанавливалось
правильное, т.е. localtime. Я думаю, это потому, что
/etc/init.d/clock, не найдя /etc/localtime, просто вываливался с
ошибкой и не вызывал hwclock --localtime --hctosys.


--
Юрий А. Зотов



  parent reply	other threads:[~2003-11-24 11:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-24 10:54 Yura Zotov
2003-11-24 11:08 ` Dmitry V. Levin
2003-11-24 11:29   ` Yura Zotov
2003-11-24 11:53   ` Yura Zotov [this message]
2003-11-24 12:17     ` Dmitry V. Levin
2003-11-24 12:40       ` Yura Zotov

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=20031124115331.GA18175@home-pool4-75.com2com.ru \
    --to=yz@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git