ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Boris Savelev <boris.savelev@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] поправить часы/часовой пояс в контейнере
Date: Thu, 13 Aug 2009 12:07:31 +0400
Message-ID: <4d6cc2f20908130107r48244acap95df1b8395f327c9@mail.gmail.com> (raw)
In-Reply-To: <4A83C93B.7070304@nevod.ru>

13 августа 2009 г. 12:05 пользователь Шигапов Ринат (srk@nevod.ru) написал:
> Maks Re пишет:
>>
>> Привет.
>>
>> Имеется контейнер ovz.
>> на HN часовой пояс как UTC.
>> как в контейнере выставить другой часовой пояс?
>>
>> /etc/sysconfig/clock HWCLOCK_SET_AT_HALT=false
>> HWCLOCK_ADJUST=false
>> UTC=true
>> #ARC=false
>> ZONE="Europe/Moscow"
>>
>>
>> #service clock tzset не помогает
>>
>> # service clock tzset
>> # service clock status
>> hwclock is unable to get I/O port access:  the iopl(3) call failed.
>> #
>>
>> на текущий момент - разница в 4 часа с мск.
>> # date
>> Thu Aug 13 08:02:43 UTC 2009
> Скопировать /etc/localtime c HN?
>

cat /usr/share/zoneinfo/Europe/Moscow > /etc/localtime


-- 
Boris

  reply	other threads:[~2009-08-13  8:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  8:03 Maks Re
2009-08-13  8:05 ` Шигапов Ринат
2009-08-13  8:07   ` Boris Savelev [this message]
2009-08-13  9:06     ` Maks Re
2009-08-13 12:10       ` Sergey
2009-08-13  9:07     ` Шигапов Ринат
2009-08-13  9:04   ` Maks Re

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=4d6cc2f20908130107r48244acap95df1b8395f327c9@mail.gmail.com \
    --to=boris.savelev@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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