From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 27 20:31:28 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id B6090106566C for ; Sun, 27 Mar 2011 20:31:28 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E01D5153CBA; Sun, 27 Mar 2011 20:31:22 +0000 (UTC) Message-ID: <4D8F9E9A.50604@FreeBSD.org> Date: Sun, 27 Mar 2011 13:31:22 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110326 Thunderbird/3.1.9 MIME-Version: 1.0 To: David Wolfskill References: <20110327153835.GA87420@albert.catwhisker.org> In-Reply-To: <20110327153835.GA87420@albert.catwhisker.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Keeping /etc/localtime up-to-date X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 20:31:28 -0000 On 03/27/2011 08:38, David Wolfskill wrote: > It would (in principle) be possible to teach mergemaster(8) how to > do this (possibly by including a cookie in ~/.mergemasterrc or > /etc/mergemaster.rc to tell it what the "reference" zoneinfo pathname > is), but this type of approach seems sufficiently different from > (the bulk of?) what mergemaster does currently that I'm unconvinced > that this is reasonable, let alone ideal. Yeah, I wouldn't be enthusiastic about this. :) > So it seems to me that requirements would be: > * The content of /etc/localtime must provide the appropriate > "zoneinfo" information, even when/usr/share/zoneinfo/* has been > modified (or shortly thereafter, in concert with "make installworld"). This is more along the lines of something that would be easy to work with in mergemaster. If I can tell what file in /usr/share/zoneinfo to compare /etc/localtime to (ideally with fully path), I'm happy to provide a mechanism in mergemaster to make sure it stays up to date. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/