ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re: Re: System clock to localtime -- again...
  @ 2003-05-29 16:10 ` Artem Vakhitov
  2003-05-31 21:13   ` Alexey Borovskoy
  0 siblings, 1 reply; 2+ messages in thread
From: Artem Vakhitov @ 2003-05-29 16:10 UTC (permalink / raw)
  To: community

Alexey Borovskoy <alexey_borovskoy@pochtamt.ru> wrote:

>>Я даже сделал один эксперимент, наверное, не очень умный:
>>закомментировал  service clock start в /etc/rc.d/rc.sysinit.
>>Тем не менее при загрузке часы все равно убегают на 4 часа
>>вперед. И даже если после этой строчки вставить hwclock
>>--hctosys, это тоже не помогает. Караул! КАКАЯ СОБАКА ЭТО
>>ДЕЛАЕТ?
> 
> 
> 1)
> sudo bash
> 
> 2)
> cat /usr/share/zoneinfo/Europe/Moscow >/etc/localtime
> 
> 3)
> rm -f /etc/adjtime
> 
> 4)
> hwclock --hctosys
> 
> 5)
> service clock restart
> 
> ----
> Алексей
> JID:alb@jabber.ru

Спасибо! Помогло. Может быть, проблема в том, что /etc/localtime 
был ссылкой на /usr/share/zoneinfo/Europe/Moscow?

С уважением,
Артем Вахитов



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Re: Re: System clock to localtime -- again...
  2003-05-29 16:10 ` [Comm] Re: Re: System clock to localtime -- again Artem Vakhitov
@ 2003-05-31 21:13   ` Alexey Borovskoy
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Borovskoy @ 2003-05-31 21:13 UTC (permalink / raw)
  To: community

* 30 Май 2003 05:10 Artem Vakhitov <temcat@mail.ru>

> Alexey Borovskoy <alexey_borovskoy@pochtamt.ru> wrote:
> >>Я даже сделал один эксперимент, наверное, не очень умный:
> >>закомментировал  service clock start в /etc/rc.d/rc.sysinit.
> >>Тем не менее при загрузке часы все равно убегают на 4 часа
> >>вперед. И даже если после этой строчки вставить hwclock
> >>--hctosys, это тоже не помогает. Караул! КАКАЯ СОБАКА ЭТО
> >>ДЕЛАЕТ?
> >
> > 1)
> > sudo bash
> >
> > 2)
> > cat /usr/share/zoneinfo/Europe/Moscow >/etc/localtime
> >
> > 3)
> > rm -f /etc/adjtime
> >
> > 4)
> > hwclock --hctosys
> >
> > 5)
> > service clock restart
> >
> > ----
> > Алексей
> > JID:alb@jabber.ru
>
> Спасибо! Помогло. Может быть, проблема в том, что
> /etc/localtime был ссылкой на
> /usr/share/zoneinfo/Europe/Moscow?
>

Все дело в том, что установка часов происходит до монтирования 
файловых систем. Соответственно, если /usr находится на 
отдельной файловой системе, то в момент установки часов 
информация о зоне не будет доступна.

----
Алексей
JID:alb@jabber.ru



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-31 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-29 16:10 ` [Comm] Re: Re: System clock to localtime -- again Artem Vakhitov
2003-05-31 21:13   ` Alexey Borovskoy

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