From owner-freebsd-arch@FreeBSD.ORG Sun Oct 30 11:53:26 2011 Return-Path: Delivered-To: arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90E8F1065672; Sun, 30 Oct 2011 11:53:26 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 568A28FC14; Sun, 30 Oct 2011 11:53:26 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:504f:9791:43c0:21ab]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 6E5ED4AC2D; Sun, 30 Oct 2011 15:53:25 +0400 (MSK) Date: Sun, 30 Oct 2011 15:53:16 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <501950672.20111030155316@serebryakov.spb.ru> To: Andrey Chernov In-Reply-To: <20111030113348.GA42759@vniz.net> References: <457576448.20111030151023@serebryakov.spb.ru> <20111030113348.GA42759@vniz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: arch@FreeBSD.ORG, Lev Serebryakov Subject: Re: /etc/localtime problems X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2011 11:53:26 -0000 Hello, Andrey. You wrote 30 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 15:33:49: >> Now, /etc/localtime is copy of one of files from >> /usr/share/zoneinfo. It is created at install time or with "tzsetup" >> utility. >>=20 >> IMHO, it is bad practice. For example, Russia changed rules >> (cancelled Winter Time). Ok, our database was updated properly >> (r223629 and MFCes), but "make buildworld installworld && mergemaster" >> doesn't touch /etc/localtime! So, every administrator of every FreeBSD >> server in Russia needs not to forget to update this file manually. >>=20 >> It looks not good. >>=20 >> IMHO, /etc/localtime should be symlink (in such case "installworld" >> or "freebsd-update" will fix problem), or "mergemaster" should know >> about this file and update it too... > I generally use symlink too, but the root of problem is that /usr mount > can be delayed (NFS, etc.) Yep, I understand this problem, and thought about it. IMHO, mergemaster solution will be better, as virtually anybody uses it after source upgrades. But it will not help in case of binary upgrades :( --=20 // Black Lion AKA Lev Serebryakov