Date: Mon, 12 Mar 2007 11:24:20 -0400 From: Chris Slothouber <chris@hier7.com> To: FreeBSD-questions@FreeBSD.org Subject: Re: Post DST changes Message-ID: <45F570A4.10903@hier7.com> In-Reply-To: <200703121231.l2CCVN1d017433@lava.sentex.ca> References: <200703121231.l2CCVN1d017433@lava.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mike, It appears that certain daemons don't read tzdata except at startup. I'm not using bind or sendmail in production but I did notice this on a few development servers... Probably related to the way time zone info is read by libc. Because really, how often does it change? :) - Chris Mike Tancsa wrote: > I am seeing some inconsistent and strange results after the DST change > this weekend. On all the boxes, it seems setup OK > > # zdump -v /etc/localtime | grep 2007 > /etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 > EST isdst=0 gmtoff=-18000 > /etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 > EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 > EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 > EST isdst=0 gmtoff=-18000 > > And the command "date" gives the correct time. > > But until I restart some applications, I dont see the right times logged > in syslog ?! > > e.g > # date > Mon Mar 12 08:17:06 EDT 2007 > > And looking at BIND's entries to syslog, I see the correct timestamps > > Mar 12 08:17:42 granite named[16080]: denied recursion for query from > [198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN > Mar 12 08:17:42 granite named[16080]: denied recursion for query from > [198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN > Mar 12 07:17:43 granite /kernel: Connection attempt to TCP > 199.212.xx.x:995 from 74.97.26.112:53911 flags:0x02 > Mar 12 08:17:50 granite named[16080]: denied update from > [64.7.xx.90].2163 for "xxx.com" IN > Mar 12 08:17:50 granite named[16080]: denied update from > [64.7.xx.90].2163 for "xxx.com" IN > > yet mixed in notice the /kernel entry... Its an hour off !? > > if I restart syslogd, it corrects it for the kernel entry, but not for > other applications. They all seem to log the time one hour back. Most > applications seem this way. On my more recent boxes this didnt happen, > but for some legacy RELENG_4 and older RELENG_5 and RELENG_6 boxes, the > same odd behavior. > > /etc/localtime looks the same on all the boxes > > # md5 /etc/localtime > MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da > > [smtp1]% md5 /etc/localtime > MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da > [smtp1]% > > yet different behaviour. Any idea whats up ? > > ---Mike > > > -------------------------------------------------------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet since 1994 www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F570A4.10903>