From: Maks Re <admaks@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] поправить часы/часовой пояс в контейнере
Date: Thu, 13 Aug 2009 12:03:48 +0400
Message-ID: <20090813120348.7a1c30ca@lynx> (raw)
Привет.
Имеется контейнер 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
next             reply	other threads:[~2009-08-13  8:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  8:03 Maks Re [this message]
2009-08-13  8:05 ` Шигапов Ринат
2009-08-13  8:07   ` Boris Savelev
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=20090813120348.7a1c30ca@lynx \
    --to=admaks@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