From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 03:36:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8CD14ED for ; Tue, 11 Nov 2014 03:36:08 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id B229192A for ; Tue, 11 Nov 2014 03:36:07 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 54EBD6CB3A for ; Tue, 11 Nov 2014 03:36:01 +0000 (UTC) Message-ID: <5461841F.9080208@freebsd.org> Date: Mon, 10 Nov 2014 22:35:59 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Changing timezone without reboot/restarting each service? References: <5460B143.3010004@FreeBSD.org> <1415676518.1517572.189478341.09FB6AE5@webmail.messagingengine.com> In-Reply-To: <1415676518.1517572.189478341.09FB6AE5@webmail.messagingengine.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EoFJhFJDLWWXl4skcmTOdAQsSWrvckRf9" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2014 03:36:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EoFJhFJDLWWXl4skcmTOdAQsSWrvckRf9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2014-11-10 22:28, Mark Felder wrote: >=20 >=20 > On Mon, Nov 10, 2014, at 06:36, Lev Serebryakov wrote: >> >> After changing timezones in Russia (with replacing /etc/localtime >> with new file), I found that cron works in "old" timezone till >> restart. And all other services do the same, but cron is most obvious >> here :) >> >> Looks like libc reads timezone only once and it could not be chamged >> for process without restart (which leads to, effectivly, restart of >> whole server). >> >> Is it known problem? I think, it should be fixed somehow. I >> understand, that re-check timezone file on each time-related call >> could be expensive, though :( >> >=20 > I think this was one of the crowning achievements of systemd, but I'm > sure someone can come up with something much more sane than that to > address this problem. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 jkh@ mentioned this specifically when he gave his talk at EuroBSDCon and MeetBSD, about how Apple solved this in LaunchD, because apparently originally libc DID check /etc/localtime constantly. --=20 Allan Jude --EoFJhFJDLWWXl4skcmTOdAQsSWrvckRf9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUYYQiAAoJEJrBFpNRJZKfGKkP/1aBmx80UIih97GJVWLzmBUa KM6aAPOXQDxsPjyLZEKNGV22DmAHcNSAMEA5JE0o08cehq2vm4Hk/20Z8IlNwipy pWlg/1B1HGGvsmLq8LlsE8YuMby0nOlxCY3wDo0PiMsr9SnIUYJtV7Uf+e0bhJk4 bzYLsTV012MAQBl3/W7CIbxR6BApDokLoLyf5+Fj40Ugeuli8tUolwb+BqqhUpFa v5nTtzqx/GT476NZA6m1ykJ2VemH1ugxV/mXZrPhz9W+XZT3x99IF8iG3a7eZISc 6q48SHQgWjqtgNQ5E9TtukXYqfwXbjz50eVxUenP3PMD/FrxRqG6posLvfQlxtT0 TU/iZm3G5IovQpPN8cnohQg1g3dF7h3D5EVqHFQojRqkZ1BYRtqvxNIN0yZF7Bor eHiISy/KiC6bbvBLkMBjHBxYZONVvOs+fglQ9rz+h8uM/DFNzolULoFouuw11uLI wLwHAxU7m0o/v4BBNCfQ4XtUzSNcLUmsuThG6QBSMMdkfIKmKL9tQuDO4x8rsFCZ kMDq3I9Ks0s8yW22KKa9Y5B8fxG+OLizRJDpxEOkU6STZTK1XSeVdZ2GDFKEd6Mn d5ftj4TmHMWvWpI+2nq4TSiir+oZu6uyvYLFL3tK0zH/Wnjf8PFBx31sadQuV80w eF2QeqSeQ8elWjtqJ0JL =hxni -----END PGP SIGNATURE----- --EoFJhFJDLWWXl4skcmTOdAQsSWrvckRf9--