From owner-freebsd-hackers@freebsd.org Tue Jan 5 23:19:48 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AD064D4762 for ; Tue, 5 Jan 2021 23:19:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9T3l5fkzz3qGF; Tue, 5 Jan 2021 23:19:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 105NJbng055039 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Jan 2021 01:19:40 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 105NJbng055039 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 105NJbkm055038; Wed, 6 Jan 2021 01:19:37 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Jan 2021 01:19:37 +0200 From: Konstantin Belousov To: Stefan Esser Cc: Andriy Gapon , Warner Losh , FreeBSD Hackers , Hal Murray Subject: Re: How does the time zone info get updated? Message-ID: References: <20210105075109.A412C40605C@ip-64-139-1-69.sjc.megapath.net> <4e6721bc-e593-76b6-90f8-03d96486dc28@freebsd.org> <47c37f75-e082-7a34-7eb6-3ee2a4ade395@freebsd.org> <02ebd386-a7fd-1816-72b6-3211f4bc69fb@freebsd.org> <358b8939-5ec9-e340-8b06-f362cae38fa0@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4D9T3l5fkzz3qGF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2021 23:19:48 -0000 On Wed, Jan 06, 2021 at 12:05:17AM +0100, Stefan Esser wrote: > I'd rather think we should have the port install files into > $PREFIX/share/zoneinfo and modify the file lookup to search at > that location first, before falling back to the base system > location. > > This might require changes to zic, zdump, tzsetup, etcupdate, > and bsdconfig, which only expect a single path in TZDIR. > > This might be considered worse than the port that overwrites > files in base. This really requires changes to libc, which implies changed behavior for all applications.