Bind-chroot and ntp time

Matt Hansen helios82 at optushome.com.au
Fri Jul 2 03:41:25 UTC 2004


On Fri, 2004-07-02 at 02:00, Alexander Dalloz wrote:
> Am Do, den 01.07.2004 schrieb VCI Gold Support um 17:47:
> 
> > On Fedora Core 2 , using bind-chroot we are seeing odd timestamps in the 
> > messages log. The named seems to change the time from the system time 
> > when it logs. Any ideas?
<snip>
> $ ls -al /var/named/chroot/etc/localtime
> -rw-r--r--  1 root root 837 11. Dez 2003 
> /var/named/chroot/etc/localtime
> 
> The localtime file in the chroot dir is the same as the one in /etc/.
> IIRC someone on this list once reported that copying the localtime from
> /etc/ into the bind chroot dir fixed his problems with odd bind logging
> dates. I personally don't see such effects (still running FC1 on the
> bind server).

Yes, I also had this log time problem until /etc/localtime was copied
over to the chroot directory. Bind defaults to logging in UTC otherwise.
Alexander, I find it interesting that you didn't have this problem. You
are in UTC +2 so your logs should also be different. Did you set "system
clock uses UTC" on installation maybe?

Matt
-- 
"Would you buy a car with the hood welded shut?"
 - Bob Young on the benefits of the open source development model.
mhelios - www.fedoraforum.org 

-------------- 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://listman.redhat.com/archives/fedora-list/attachments/20040702/2e4162f7/attachment-0001.sig>


More information about the fedora-list mailing list