Date: Fri, 16 May 2014 17:21:28 +0200 From: "J.R. Oldroyd" <fbsd@opal.com> To: Tom Evans <tevans.uk@googlemail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: timezone for 100.chksetuid Message-ID: <20140516172128.516cc25a@shibato> In-Reply-To: <CAFHbX1JWEQy-g4NP4UpB%2B8kTgqGcyL2-TzgQU-F9wPbVZK776Q@mail.gmail.com> References: <20140516155324.498039da@shibato> <CAFHbX1JWEQy-g4NP4UpB%2B8kTgqGcyL2-TzgQU-F9wPbVZK776Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <tevans.uk@googlemail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140516172128.516cc25a>