From owner-freebsd-arch@FreeBSD.ORG Sun Oct 30 11:49:15 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 98E34106564A; Sun, 30 Oct 2011 11:49:15 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9BD8FC14; Sun, 30 Oct 2011 11:49:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id p9UBXnhG042809; Sun, 30 Oct 2011 15:33:49 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p9UBXn3Z042808; Sun, 30 Oct 2011 15:33:49 +0400 (MSK) (envelope-from ache) Date: Sun, 30 Oct 2011 15:33:49 +0400 From: Andrey Chernov To: Lev Serebryakov Message-ID: <20111030113348.GA42759@vniz.net> References: <457576448.20111030151023@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <457576448.20111030151023@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arch@FreeBSD.ORG Subject: Re: /etc/localtime problems X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:49:15 -0000 On Sun, Oct 30, 2011 at 03:10:23PM +0400, Lev Serebryakov wrote: > Hello, Arch. > > Now, /etc/localtime is copy of one of files from > /usr/share/zoneinfo. It is created at install time or with "tzsetup" > utility. > > 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. > > It looks not good. > > 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.) -- http://ache.vniz.net/