I have a couple questions... I am in Indiana and our time zone is changing. I used to choose America/Indiana/Indianapolis as the zone and we are changing to Eastern. Question 1) Is there a command line only way to change my timezone? I dont have access to X to run system-config-time. Doing a "system-config-time --help" or "system-config-time -h" did not give any information. Question 2) If the server is setup for NTP I presume I still have to change the time zone. Since Indiana-East is going away are the NTP time servers smart enough to know that Indiana-East is now just Eastern? Basically - do I have to change anything on my machines or does NTP just do it for me? Thanks, Jerry
On Tue, 2006-03-14 at 08:53 -0500, Jerry Geis wrote:> I have a couple questions... I am in Indiana and our time zone is changing. > I used to choose America/Indiana/Indianapolis as the zone and we are > changing > to Eastern. > > Question 1) Is there a command line only way to change my timezone? > I dont have access to X to run system-config-time. Doing a > "system-config-time --help" > or "system-config-time -h" did not give any information. > > Question 2) If the server is setup for NTP I presume I still have to > change the time > zone. Since Indiana-East is going away are the NTP time servers smart enough > to know that Indiana-East is now just Eastern? Basically - do I have to > change anything > on my machines or does NTP just do it for me? >I just do this kind of stuff manually ... delete the file /etc/localtime copy the correct file from /usr/share/zoneinfo to be /etc/localtime I'm sure there is a tool too ... anybody know of one? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060314/14891c31/attachment.sig>
On Tue, Mar 14, 2006 at 08:53:37AM -0500, Jerry Geis wrote:> I have a couple questions... I am in Indiana and our time zone is changing. > I used to choose America/Indiana/Indianapolis as the zone and we are > changing > to Eastern. > Question 1) Is there a command line only way to change my timezone?You shouldn''t need to do a thing. The tzdata-2006a package contains updated information for the Indiana timezone. (Sigh -- one less sensible timezone in the world.) -- Matthew Miller mattdm@mattdm.org <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/>
Matthew Miller wrote:> On Tue, Mar 14, 2006 at 08:53:37AM -0500, Jerry Geis wrote: >> I have a couple questions... I am in Indiana and our time zone is changing. >> I used to choose America/Indiana/Indianapolis as the zone and we are >> changing >> to Eastern. >> Question 1) Is there a command line only way to change my timezone? > > You shouldn''t need to do a thing. The tzdata-2006a package contains updated > information for the Indiana timezone.You will have to update /etc/localtime somehow if you have the old zoneinfo file. /etc/localtime is not an alias to the zoneinfo files in /usr/share/zoneinfo/... so an update of the tzdata file will not automatically update /etc/localtime to the newer one. It has to be copied from /usr/share/zoneinfo by default. I suspect that there will be a bunch of systems that have the wrong time because they incorrectly might assume that the yum update of tzdata will update /etc/localtime.
Jerry Geis <geisj@...> writes:> > I have a couple questions... I am in Indiana and our time zone is changing. > I used to choose America/Indiana/Indianapolis as the zone and we are > changing > to Eastern. > > Question 1) Is there a command line only way to change my timezone? > I dont have access to X to run system-config-time. Doing a > "system-config-time --help" > or "system-config-time -h" did not give any information.> > Thanks, > > Jerry >Purdue University has a great HOWTO on this topic that allowed me to update all of the computer in my lab: https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20060128100824 Hope it helps!
Andrew Howard spake the following on 3/28/2006 10:28 AM:> Jerry Geis <geisj@...> writes: > >> I have a couple questions... I am in Indiana and our time zone is changing. >> I used to choose America/Indiana/Indianapolis as the zone and we are >> changing >> to Eastern. >> >> Question 1) Is there a command line only way to change my timezone? >> I dont have access to X to run system-config-time. Doing a >> "system-config-time --help" >> or "system-config-time -h" did not give any information. > >> Thanks, >> >> Jerry >> > > Purdue University has a great HOWTO on this topic that allowed me to update all > of the computer in my lab: > https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20060128100824 > > Hope it helps!Go Boilermakers!!!! -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don''t!!!!