From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 22:55:42 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 34009106564A for ; Fri, 4 Nov 2011 22:55:42 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id DE2798FC0C for ; Fri, 4 Nov 2011 22:55:41 +0000 (UTC) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 2988DA71949 for ; Fri, 4 Nov 2011 18:55:41 -0400 (EDT) Received: (qmail 28321 invoked from network); 4 Nov 2011 22:55:40 -0000 Received: by simscan 1.4.0 ppid: 7714, pid: 27241, t: 0.1925s scanners: clamav: 0.88.2/m:52/d:13495 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Nov 2011 22:55:40 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 403F42E0CE; Fri, 4 Nov 2011 18:55:34 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id C2FDA3983C; Fri, 4 Nov 2011 18:55:32 -0400 (EDT) From: Lowell Gilbert To: Alexander Kapshuk References: <4EB44272.6060809@gmail.com> <44vcqzbrlu.fsf@be-well.ilk.org> <20111104215321.5f9ca2eb@nonamehost.> <44r51nbq4p.fsf@be-well.ilk.org> <4EB457C1.2070607@gmail.com> <44lirvbopw.fsf@be-well.ilk.org> <4EB46E5C.2000107@gmail.com> Date: Fri, 04 Nov 2011 18:55:32 -0400 In-Reply-To: <4EB46E5C.2000107@gmail.com> (Alexander Kapshuk's message of "Sat, 05 Nov 2011 00:59:40 +0200") Message-ID: <44bosro5uj.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 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 Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 22:55:42 -0000 Alexander Kapshuk writes: > On 11/04/11 22:46, Lowell Gilbert wrote: >> Alexander Kapshuk writes: >> >>> the actual current time is 10.21 pm. >> Your system's clock may be off as well... >> >>> any idea when an updated time zone file will become available? >> It's already in the FreeBSD tree: >> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain >> >> To install it, you'll need something like >> # zic europe >> (where "europe" is the file from the URL above) >> and then tzsetup(8) should install the correct information. >> >> Or you could update your system to anything after October 26. > thanks. > > here's what i did based on my understanding of the instructions given above: > # cd $HOME > # fetch -o europe > http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain > # zic europe > # tzsetup -r > > :; date > Sat Nov 5 00:54:32 EET 2011 > > the timezone did change from 'FET' to 'EET', but the time is still > wrong by being 1 hour ahead of the actual ukraine time. > > another thing i tried, which didn't seem to help was set these > environment variables in my /etc/rc.conf: > (as suggested here: http://forums.freebsd.org/showthread.php?t=10276 > [post # 6]) > > ntpdate_enable="YES" > ntpdate_flags="-u -b" > ntpdate_hosts="ua.pool.ntp.org" That will only do anything at startup. To do the same thing without needing to reboot, the command line would be # ntpdate -u -b ua.pool.ntp.org > i must be doing something wrong. just don't know what is it. > > can anyone please suggest what it is i should be doing? Well, start with what I suggested a while back: try "date -u" and see whether that is the correct UTC time. If not, the ntpdate command will solve you problems. If it is, there's still something else wrong.