[ale] The world didn't end

Christopher Fowler cfowler at outpostsentinel.com
Mon Mar 12 12:10:29 EDT 2007


There is an /etc/localtime but I do not think uClibc apps use it?  I
removed that file and the time still read "EST".

When I updated all our FC servers I normally did the following:

# date
# rm -rf /usr/share/zoneinfo
# date
# cd /usr/share
# tar -xjvf /tmp/z.tar.bz2

# date

/etc/localtime was a link to /usr/share/zoneinfo/US/Eastern

So the date commands above showed EST then UTC then back to EST.  The
same behavior was not on the astlinux box so my guess was right that an
update of the zoneinfo files did not help much.

What I mean by much is that in Asterisk my speaking clock was right.  My
voicemail dates were still in EST.  Weird....  Once I followed what you
found on google and modified the correct variables in rc.conf then all
times were correct.
buford-pbx etc # more /mnt/kd/rc.conf
## AstLinux Main Configuration file
##
## Web: http://www.astlinux.org
## Support: http://lists.kriscompanies.com
## Donate: Paypal paypal at krisk.org
##
## Don't uncomment any line with more than one #!
##
##
## Begin rc.conf ##

###Basic Stuff

##Hostname
DOMAIN=linxdev.com
HOSTNAME=buford-pbx

##Timezone
##If you define this variable, AstLinux will link this file from
##/usr/share/zoneinfo/$TIMEZONE to /tmp/etc/localtime on startup
##GMT (UTC) is the default
TIMEZONE=US/Eastern

##uClibc Timezone
##See
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
TZ_TIMEZONE="EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00"









On Mon, 2007-03-12 at 11:05 -0400, Jeff Lightner wrote:
> Astlinux (never heard of it) doesn't have /etc/localtime like other
> Linux distros?  
> 
> Going all the way back to RH 7.3 I found /etc/localtime and on
> LinuxQuestions it sounds like it was there as far back as RH 6.
> 
> /etc/localtime also exists on our old FreeBSD 4.5 servers.
> 
> HP-UX instead of having that had /etc/tztab that had to be updated.
> 
> 
> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
> Christopher Fowler
> Sent: Monday, March 12, 2007 9:35 AM
> To: Atlanta Linux Enthusiasts
> Cc: Aaug at atlaug.com
> Subject: Re: [ale] The world didn't end
> 
> OMG!  I must say that is some very usefule info you just found for us.
> Of all my servers my astlinux boxes are not working right.  I've updated
> the Zoneinfo file but I'm still getting bad time.  My guess is that it
> is a uClibc issue
> 
> buford-pbx ~ # date;env TZ='EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00' date
> Mon Mar 12 08:33:52 EST 2007
> Mon Mar 12 09:33:52 EDT 2007
> 
> 
> I'm going to place that string in the rc.conf of astlinux ans see if it
> works on a reboot.
> 
> 
> On Mon, 2007-03-12 at 09:03 -0400, Jeff Lightner wrote:
> > OpenServer Release 5.0.4 - SCO's only response was "upgrade to 5.0.7"
> as
> > if THAT were an option.   Trolling Google I found that simply
> modifying
> > /etc/TIMEZONE was the fix needed:
> > 
> > New Value:
> > TZ='EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00'
> > 
> > Old Value:
> > TZ='EST5EDT'
> > 
> > SCO apparently doesn't have zone files anywhere that can be modified
> so
> > the above will make it alter the "stored" value for EST5EDT.
> > 
> > I'm assuming the above would work for other US timezones so long as
> you
> > substituted the base timezone (e.g. PST8PDT) for EST5EDT.
> > 
> > The timezone man page details why it works.
> > 
> > -----Original Message-----
> > From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of H.
> > A. Story
> > Sent: Sunday, March 11, 2007 3:25 PM
> > To: Atlanta Linux Enthusiasts
> > Subject: Re: [ale] The world didn't end
> > 
> > what version of SCO? Did you apply a patch? I am not sure if 5.0.7 or 
> > earlier has the patch. I know 6.0 does. Only reason I am asking is I 
> > have a lot of clients that have asked because of the news coverage.
> Best
> > 
> > answer I can give them is that their system has been wrong half of the
> 
> > year for the past 7 years what is a few weeks now?
> > 
> > Adrin
> > 
> > 
> > Jeff Lightner wrote:
> > >
> > > Amazing all of my UNIX/Linux systems successfully transitioned to
> the 
> > > new EDT without a problem AND my lights and cable are still on.
> > >
> > > Hell even my unsupported SCO (I know) UNIX box' bizarre fix for 
> > > unsupported version worked as did my unsupported HP-UX 10.20
> servers.
> > >
> > > If only I could have figured out how to automatically change the dam
> 
> > > AS400 times I wouldn't have even had to have gotten up tonight.
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list