Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 15:33:49 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Lev Serebryakov <lev@FreeBSD.ORG>
Cc:        arch@FreeBSD.ORG
Subject:   Re: /etc/localtime problems
Message-ID:  <20111030113348.GA42759@vniz.net>
In-Reply-To: <457576448.20111030151023@serebryakov.spb.ru>
References:  <457576448.20111030151023@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111030113348.GA42759>