tzsetup disregards setting TZ to UTC
Garrett Cooper
gcooper at FreeBSD.org
Tue Mar 29 00:36:03 UTC 2011
On Mon, Mar 28, 2011 at 4:58 PM, Doug Barton <dougb at freebsd.org> wrote:
> On 03/28/2011 16:24, David Cornejo wrote:
>
>> To me it seems that the fault is that I can find no way in tzsetup to
>> specify UTC. Though it seems the system defaults to UTC if you don't run
>> tzsetup anyway, so maybe it would suffice to just say not to do that.
>> (tzsetup is a no-op anyway if you're using UTC since in either case the
>> system RTC would be set to UTC)
>>
>> While I don't follow the lists religiously, this is the first time in many
>> years that I've seen someone make this complaint and I'd rather not change
>> it.
>
> I made the same complaint recently in a semi-private forum, so you're not
> alone. :) I just haven't taken the time to figure out how best to "fix" it.
I'll provide a patch that I wrote to 'fix' the original behavior
when I get home (before Eitan pointed out this was by design). It's
trivial (<15 lines IIRC).
Fixing UTC to show up in the menu is not that difficult either,
but it might talk a bit more monkeying around.
Thanks,
-Garrett
More information about the freebsd-current
mailing list