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

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lev@FreeBSD.org>




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