From owner-freebsd-current@FreeBSD.ORG Fri May 16 15:21:53 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCDA073D for ; Fri, 16 May 2014 15:21:53 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96BEA2A4B for ; Fri, 16 May 2014 15:21:53 +0000 (UTC) Received: from pool-71-174-178-66.bstnma.east.verizon.net ([71.174.178.66] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WlJxH-000Bb9-Fz; Fri, 16 May 2014 15:21:51 +0000 Received: from shibato (ANice-652-1-30-110.w83-201.abo.wanadoo.fr [83.201.181.110]) (authenticated bits=0) by homobox.opal.com (8.14.7/8.14.7) with ESMTP id s4GFLfdi098084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 16 May 2014 11:21:43 -0400 (EDT) (envelope-from fbsd@opal.com) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 71.174.178.66 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19qOVPTVH0i82eoAjuSMne7 Date: Fri, 16 May 2014 17:21:28 +0200 From: "J.R. Oldroyd" To: Tom Evans Subject: Re: timezone for 100.chksetuid Message-ID: <20140516172128.516cc25a@shibato> In-Reply-To: References: <20140516155324.498039da@shibato> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/YwL7oYckIk1tS9lGbY9SNup"; protocol="application/pgp-signature" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (homobox.opal.com [71.174.178.66]); Fri, 16 May 2014 11:21:44 -0400 (EDT) X-Spam-Status: No, score=4.5 required=5.0 tests=AWL,BAYES_50, FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN, RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on homobox.opal.com Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 16 May 2014 15:21:53 -0000 --Sig_/YwL7oYckIk1tS9lGbY9SNup Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 16 May 2014 16:09:37 +0100 Tom Evans wro= te: >=20 > Do you mean you are changing /etc/localtime whenever you move to > another timezone? >=20 Yes, precisely. > I would suggest stopping doing that! Instead just set TZ in your user > environment to whatever TZ you want. That way, your programs will all > be localised correctly, and scripts which run as root will remain > consistent. >=20 Good suggestion, but that would cause those scripts run as root to be run at the wrong time of day, cron jobs for example, or to reflect the wrong time and timezone, e.g., sendmail timestamps, syslog messages, etc. No big deal for short trips, but it's not what you want on longer, extended trips. -jr --Sig_/YwL7oYckIk1tS9lGbY9SNup Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlN2LP8ACgkQls33urr0k4kv3QCZAVRB8ZenQNeocJ+a3ImOOAr1 rE8An3x7KBySDxaTO8fqL2/rssgCuPjN =RJAO -----END PGP SIGNATURE----- --Sig_/YwL7oYckIk1tS9lGbY9SNup--