Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Daniel O'Connor

On 28/03/2011, at 15:59, Eitan Adler wrote:
 On Mon, Mar 28, 2011 at 12:19 AM, Daniel O'Connor docon...@gsoft.com.au 
 wrote:
 Hi,
 I am trying the new installer and I find that it still asks you for a time 
 zone even if you answer Yes to using UTC.
 
 tzsetup(1) is not asking if you wish to use UTC, It is asking if your
 local CMOS clock is set to UTC time. There is a subtle difference. See
 adjkerntz(8) for more details.

Ahh I think I understand.

So I answer yes or no then hit Cancel to use UTC.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Matthias Andree
Am 28.03.2011 07:53, schrieb Garrett Cooper:
 On Sun, Mar 27, 2011 at 10:29 PM, Eitan Adler li...@eitanadler.com wrote:
 On Mon, Mar 28, 2011 at 12:19 AM, Daniel O'Connor docon...@gsoft.com.au 
 wrote:
 Hi,
 I am trying the new installer and I find that it still asks you for a time 
 zone even if you answer Yes to using UTC.

 tzsetup(1) is not asking if you wish to use UTC, It is asking if your
 local CMOS clock is set to UTC time. There is a subtle difference. See
 adjkerntz(8) for more details.
 
 Perhaps the wording should be changed to say Is your clock set to
 local time? instead?

Perhaps the installer should instead:

display CMOS and system time, and ask which one of them is correct, and
offer a third option to actually correct the timezone or time if neither
is correct.

That's much easier to grasp.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Matthew Seaman
On 28/03/2011 12:08, Matthias Andree wrote:
 Perhaps the installer should instead:
 
 display CMOS and system time, and ask which one of them is correct, and
 offer a third option to actually correct the timezone or time if neither
 is correct.
 
 That's much easier to grasp.

... and a 4th option for when both are correct.  Happens quite a lot
round these parts in the winter.  However, there are very few people for
whom DST is the same as UTC.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread David Cornejo
On Mon, Mar 28, 2011 at 10:15 AM, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:

 On 28/03/2011 12:08, Matthias Andree wrote:
  Perhaps the installer should instead:
 
  display CMOS and system time, and ask which one of them is correct, and
  offer a third option to actually correct the timezone or time if neither
  is correct.
 
  That's much easier to grasp.

 ... and a 4th option for when both are correct.  Happens quite a lot
 round these parts in the winter.  However, there are very few people for
 whom DST is the same as UTC.

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW


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.

dave c
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Doug Barton

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.



Doug

--

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Garrett Cooper
On Mon, Mar 28, 2011 at 4:58 PM, Doug Barton do...@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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Daniel O'Connor

On 29/03/2011, at 11:06, Garrett Cooper wrote:
 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.

I think having UTC in the TZ menu would be the way to go, I will see if I can 
generate a patch for it.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Daniel O'Connor

On 29/03/2011, at 12:11, Daniel O'Connor wrote:

 
 On 29/03/2011, at 11:06, Garrett Cooper wrote:
 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.
 
 I think having UTC in the TZ menu would be the way to go, I will see if I can 
 generate a patch for it.

See attached diff or http://www.gsoft.com.au/~doconnor/tzsetup-utc-menu.diff

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C





tzsetup-utc-menu.diff
Description: Binary data



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

tzsetup disregards setting TZ to UTC

2011-03-27 Thread Daniel O'Connor
Hi,
I am trying the new installer and I find that it still asks you for a time zone 
even if you answer Yes to using UTC.

I had a look at the way this is implemented and it appears to just be a call to 
tzsetup so it would appear the bug lies there.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-27 Thread Eitan Adler
On Mon, Mar 28, 2011 at 12:19 AM, Daniel O'Connor docon...@gsoft.com.au wrote:
 Hi,
 I am trying the new installer and I find that it still asks you for a time 
 zone even if you answer Yes to using UTC.

tzsetup(1) is not asking if you wish to use UTC, It is asking if your
local CMOS clock is set to UTC time. There is a subtle difference. See
adjkerntz(8) for more details.


-- 
Eitan Adler
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: tzsetup disregards setting TZ to UTC

2011-03-27 Thread Garrett Cooper
On Sun, Mar 27, 2011 at 10:29 PM, Eitan Adler li...@eitanadler.com wrote:
 On Mon, Mar 28, 2011 at 12:19 AM, Daniel O'Connor docon...@gsoft.com.au 
 wrote:
 Hi,
 I am trying the new installer and I find that it still asks you for a time 
 zone even if you answer Yes to using UTC.

 tzsetup(1) is not asking if you wish to use UTC, It is asking if your
 local CMOS clock is set to UTC time. There is a subtle difference. See
 adjkerntz(8) for more details.

Perhaps the wording should be changed to say Is your clock set to
local time? instead?
-Garrett
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org