From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 03:28:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E04C937C for ; Tue, 11 Nov 2014 03:28:46 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1E5F855 for ; Tue, 11 Nov 2014 03:28:46 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1A68420923 for ; Mon, 10 Nov 2014 22:28:39 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Mon, 10 Nov 2014 22:28:39 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=u8at516xSdFVGVFTTztN ufiWNT0=; b=nfHd+zL6KETj6YOSCrDFYqOrP0+48do2ZavnsapTPwMxJqrdt1i6 0D3GIZxXxu9e4fNjSJc+dqdgGV1XyQm4Qn0D6T+4wyHeuuDEjM/AeK7Y0YJfH+Xl jIWjUWnkC6q0Qu2wJBFoK23kKMH6EQYzK0uWVo4yhbJ3C2VHuHbxs9g= Received: by web3.nyi.internal (Postfix, from userid 99) id E8E521066A1; Mon, 10 Nov 2014 22:28:38 -0500 (EST) Message-Id: <1415676518.1517572.189478341.09FB6AE5@webmail.messagingengine.com> X-Sasl-Enc: nC+52S79/0n8xKi2TwqnP862oYPEJirkdS5xZmgXlhB1 1415676518 From: Mark Felder To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-9183bd94 Subject: Re: Changing timezone without reboot/restarting each service? Date: Mon, 10 Nov 2014 21:28:38 -0600 In-Reply-To: <5460B143.3010004@FreeBSD.org> References: <5460B143.3010004@FreeBSD.org> 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:28:47 -0000 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 :( > 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.