From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQyJz-0007Nd-R2 for garchives@archives.gentoo.org; Mon, 30 May 2011 08:59:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 169CD1C013; Mon, 30 May 2011 08:58:04 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id D8DA31C013 for ; Mon, 30 May 2011 08:58:03 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 95C692059C for ; Mon, 30 May 2011 04:58:03 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 30 May 2011 04:58:03 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=ZG2qRdJNh22X2glWd/wQeC/v54g=; b=OBCwkaFMvrRCHpTFDgwEGGqDqVjL5kI1SMSHM2VzEzgjCB+NWZ9X3llf87S2GrDq+9hYfj1DRCBPIAcIN2D5SZ7dQvdleCjwmfpIXVOfXKZQzhRgjta3pAc698V3y6QFGn9q3byJrZ4uPPpKSohXhoAkelf28zg8IpHdiPu0FMg= X-Sasl-enc: Hipf+2QYDorRLjfofNptz13BBMl/wD89UOlvImJaRY02 1306745882 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 6091A401E9A for ; Mon, 30 May 2011 04:58:02 -0400 (EDT) Message-ID: <4DE35C0F.4050700@binarywings.net> Date: Mon, 30 May 2011 10:57:51 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110507 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] time issue References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFAA7A31FD0DC841FBFC08543" X-Archives-Salt: X-Archives-Hash: 3d500d13afe476ebecddc9a2a253ca74 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFAA7A31FD0DC841FBFC08543 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 30.05.2011 10:15, schrieb Andr=C3=A1s Cs=C3=A1nyi: > Hi All, >=20 > I have a little problem regarding time. After every boot I have to > setup my clock because about my machine the current time is +2 hour > more. To be honest, this is a little bit annoying. > What I did: >=20 > - According to install guide I have copied the > /usr/share/zoneinfo/Europe/Budapest to /etc/localtime > - According to localization guide [1] I have to set up the current > timezone in the /etc/conf.d/clock file but this file is missing. I > have checked it the original stage-3 pack from Hungarian mirror and I > couldn't find there as well. I think this file is removed. >=20 > So my question is that, what should I do to have the current time > automatically (I'm in Hungary/Budapest)? Should I make a new clock > file? >=20 > [1] - http://www.gentoo.org/doc/en/guide-localization.xml >=20 > Thanks for any help in advance! >=20 > Andr=C3=A1s >=20 First question: Are you dual-booting some other operating system? Windows sets the hardware clock to local time, Linux expects it to be UTC, by default. You can change this setting in /etc/conf.d/hwclock In this file, you can also specify to set the hardware clock to whatever the software clock tells. That might help you to restore the correct time at boot. The localization guide seems to be in a poor state. Copying the zoneinfo file from /usr/share... to /etc/localtime is not the best way to do it because then you miss updates. It is better to create a symlink between the two. Also, instead of setting the timezone in /etc/conf.d/clock, you do it in /etc/timezone nowadays (change introduced in baselayout-2 if I'm not mistaken). `echo Hungary/Budapest > /etc/timezone` will do the trick. Hope this helps, Florian Philipp --------------enigFAA7A31FD0DC841FBFC08543 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3jXBUACgkQqs4uOUlOuU/iugCfVnLzGXcif0bqLcKL69DHx62J mAkAnA/lbsvjr8jw/Sixg71r2Nq8KMML =bxcQ -----END PGP SIGNATURE----- --------------enigFAA7A31FD0DC841FBFC08543--