From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 20:23:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A4AA1065674 for ; Fri, 4 Nov 2011 20:23:44 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2008FC14 for ; Fri, 4 Nov 2011 20:23:43 +0000 (UTC) Received: by faar19 with SMTP id r19so4523769faa.13 for ; Fri, 04 Nov 2011 13:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ulwzg7P8pdD6BFWaSj2avFSS7HdIB3XK1w+ql7CzoS0=; b=fgiGAwRf19c0eWdJVXxztGUhPYJff1huiXotlXPdkqtyzyJ6dUYNYesNUXpZQ0xlWv g45EtgMqq9hfbazjyRst2pAFTxkvt1HSW6EXNpOVFXZXpR6mqaejAiPcIEkwnP6PtAdF 1dyIeISWlz33rk0jXUq86BRgYgZOjHVF4eFNc= Received: by 10.223.94.143 with SMTP id z15mr22285313fam.32.1320438222478; Fri, 04 Nov 2011 13:23:42 -0700 (PDT) Received: from [192.168.1.2] (93-127-96-97.static.vega-ua.net. [93.127.96.97]) by mx.google.com with ESMTPS id f4sm9915033faj.1.2011.11.04.13.23.41 (version=SSLv3 cipher=OTHER); Fri, 04 Nov 2011 13:23:41 -0700 (PDT) Message-ID: <4EB457C1.2070607@gmail.com> Date: Fri, 04 Nov 2011 23:23:13 +0200 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111014 Thunderbird/7.0.1 MIME-Version: 1.0 To: Lowell Gilbert References: <4EB44272.6060809@gmail.com> <44vcqzbrlu.fsf@be-well.ilk.org> <20111104215321.5f9ca2eb@nonamehost.> <44r51nbq4p.fsf@be-well.ilk.org> In-Reply-To: <44r51nbq4p.fsf@be-well.ilk.org> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: Ivan Klymenko , freebsd-questions@freebsd.org Subject: Re: trouble setting timezone for ukraine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 20:23:44 -0000 On 11/04/11 22:15, Lowell Gilbert wrote: > Ivan Klymenko writes: > >> §£ Fri, 04 Nov 2011 15:43:57 -0400 >> Lowell Gilbert §á§Ú§ê§Ö§ä: >> >>> Alexander Kapshuk writes: >>> >>>> i'm based in ukraine. on 29 Oct 2011 ukraine went to winter time, >>>> i.e. we put our clocks one hour back. >>>> >>>> the current time in ukraine is 8.49 pm; the output of 'date' is: >>>> >>>> :; date >>>> Fri Nov 4 22:49:48 FET 2011 >>>> >>>> i tried resetting my timezone via 'sysinstall', but to no avail. >>>> >>>> do i use 'date' to set my system time to the right time, or is >>>> there a better way of doing it? >>>> >>>> :; uname -a >>>> FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 >>>> UTC 2011 >>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >>> I think that your government changed its mind about staying on >>> standard time this year, but only did so at the last minute. So you >>> probably have an outdated timezone file. That would lead the >>> computer to be one hour late rather than two, but it's probably a >>> change you need to make. Also check the system's time in UTC to see >>> whether the clock itself is off. >> run tzsetup... > He already did that, using sysinstall. You can tell that he did it > correctly because his date(1) output says "FET" which is the correct > time zone for him. His time zone file is, almost certainly, too old, > and will remain so no matter how many times he reinstalls it. I think > the decision to change the rules was only made about two weeks ago, and > the updated time zone file couldn't have been available until after > that. I believe the updated tzdata files were brought into the tree on > October 25. thank you all for replying to my email. here's what i tried after reading your replies: tzsetup /usr/share/zoneinfo/Europe/Kiev tzsetup -r didn't help. i believe that sysinstall calls tzsetup as well, but i thought i'd try Ivan's suggestion anyway. here's the output of 'date' i get now: Sat Nov 5 00:21:52 FET 2011 the actual current time is 10.21 pm. any idea when an updated time zone file will become available? thanks. sasha