Re: One last question.....on DST
- From: Pat Welch <patubb@xxxxxxxxxxx>
- Date: Sat, 10 Mar 2007 14:28:47 -0800
beetle.vw@xxxxxxxxx wrote:
On Mar 8, 12:52 pm, "ThreeStar" <s...@xxxxxxxxxxxxxxxxx> wrote:On Mar 8, 9:44 am, Bill Campbell <b...@xxxxxxxxxxxxx> wrote:
On Thu, Mar 08, 2007, Jean-Pierre Radley wrote:The init process appears to read /etc/TIMEZONE when it starts up. Itbeetle...@xxxxxxxxx typed (on Thu, Mar 08, 2007 at 08:16:07AM -0800):What processes access the /etc/TIMEZONE file to set TZ?
| One last question.....on DST
| When editing a CST TIMEZONE file, I have been using this format:
| TZ='CST6CDT,M3.2.0/2,M11.1.0/2'
|
| But recently I have seen other postings use:
| TZ='CST6CDT5,M3.2.0/2,M11.1.0/2'
|
| Which is correct?
Either one, they are equivalent.
It is less than obvious that to get the specifics on the construction of
the TZ variable you should run 'man environ'.
There you can read:
The offset after dst is the difference between local standard
time and local summertime. If you do not specify an offset, it
is assumed to be one hour. (This is usually what you want.)
I think that is in error, and what it SHOULD say is that the [optional]
offset after dst is the difference from the time at the Prime Meridian,
and if this offset is not specified, then it is assumed to one hour less
than the offset for standard time.
I don't see anything in /etc/profile or similar startup scripts that would
be used to set user's environments (OpenServer 5.0.6a and earlier).
I've been appending ``. /etc/TIMEZONE'' to the /etc/profile file when
updating these systems.
Bill
--
INTERNET: b...@xxxxxxxxxxxxx Bill Campbell; Celestial Software LLC
URL:http://www.celestial.com/PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
``Everybody is ignorant, only on different subjects.''
Will Rogers
passes TZ on to the shells. Unfortunately it doesn't re-read it when
signaled (telinit). You have to re-boot for changes in it to take
effect.
Explicitly including TIMEZONE in /etc/profile is good practice, but
won't ensure that all of init's other children are on the same page.
I've re-booted all systems after changing TIMEZONE.
--Ray Robert
I have also rebooted after making changes. I tested the TIMEZONE edit
on a brand new 5.0.7 mp5, rolled the date ahead rebooted and time
reflected the change. But when I took it one more step moving the date
ahead to 11/5 the time did not change? Suggestions....comments.
Thanks!
Hmm.
The TZ edit should not be needed on 5.0.7 with MP5 applied. MP5 includes the DST patch.
Perhaps adding the /etc/TIMEZONE edit to a system with MP5 also applied is confusing 5.0.7?
--
----------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: patubb@xxxxxxxxxxx
----------------------------------------------------
.
- Follow-Ups:
- Re: One last question.....on DST
- From: Jean-Pierre Radley
- Re: One last question.....on DST
- References:
- One last question.....on DST
- From: beetle . vw
- Re: One last question.....on DST
- From: Jean-Pierre Radley
- Re: One last question.....on DST
- From: Bill Campbell
- Re: One last question.....on DST
- From: ThreeStar
- Re: One last question.....on DST
- From: beetle . vw
- One last question.....on DST
- Prev by Date: Re: One last question.....on DST
- Next by Date: Re: One last question.....on DST
- Previous by thread: Re: One last question.....on DST
- Next by thread: Re: One last question.....on DST
- Index(es):
Relevant Pages
|