Re: Time??

Joseph Anthony (jga@alien.cowboy.net)
Thu, 7 Jan 1999 20:21:12 -0600 (EST)


I believe it is the localtime/zoneinfo (UScentral CST6CDT) file is screwed
up.. central time is screwed up for glibc..

On Fri, 8 Jan 1999, Riley Williams wrote:

> Hi Joseph.
>
> > echo "<$TZ>" yielded <>, and the latter still didn't fix it =( this
> > is also on a redhat box as well as the Debian one.. something is
> > broken some where.
>
> OK, the other reasonably obvious possibility is to turn that on its
> head - is TZ set for the sendmail daemon that's started automagically
> in your boot scripts ???
>
> To check this on the RedHat system, look in /etc/rc.d/init.d/sendmail
> for any lines of the form "export TZ=??T" and, if they're found, kill
> them. When you've done that, find the line that begins "start)" and
> insert immediately after it the following line:
>
> echo "*** Sendmail Timezone = <$TZ>" >&2
>
> When you've done that and saved the file, reboot and watch the boot-up
> messages to see what appears - it will NOT appear in dmesg as far as
> I'm aware...
>
> >>> Thanks.. I have no clue why it does this.. date yeilds CST
> >>> fingering a local user yeilds CST, every where but mail.. it just
> >>> mislables -0600 as EST.. I have no idea why.. I run tzconfig and it
> >>> still does nothing to change it. I will keep researching.. if you
> >>> find an answer please let me know..
>
> >> Can you check the output from the following command?
>
> >> Q> echo "<$TZ>"
>
> >> If that shows other than <> as output, you have a local environment
> >> variable that's set to say that you're in the CST timezone, in which
> >> case you will only see CST times irrespective of what's going on
> >> elsewhere.
>
> >> If so, type the following command, then redo your checks...
>
> >> Q> unset TZ
>
> >> If that fixes it, you'll need to find out which configuration file
> >> sets it and get rid of it...
>
> Best wishes from Riley.
>
> ---
> * ftp://ps.cus.umist.ac.uk/pub/rhw/Linux
> * http://ps.cus.umist.ac.uk/~rhw/kernel.versions.html
>

---
*************************************
*          Joseph Anthony           *
*          jga@cowboy.net           *
*     http://wasteland.cowboy.net   *
*  -------------------------------  *
*  System Administrator Cowboy.net  *
*       http://www.cowboy.net       *
*************************************

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/