Thanks Derrik for your reply,
But no, I am not running chroot'ed.
I did, however, tried copying the /etc/localtime file to /etc/pdns
(which is the directory where pdns.conf lies), but the same problem occurs.
This is strange. How can the same daemon send messages with a different
timezone now and then? Or is it a separate daemon (child process)
producing the erroneously-timed messages (I don't know exactly pdns
internals)? If so, then perhaps this daemon (a child process?) is not
"reading" system time correctly.
In any case, /etc/localtime is world-readable.
Any other ideas?
Nick
On 4/9/2010 1:25 πμ, Derrik Pates wrote:
What timezone are you in? My guess would be that you're running
PowerDNS chroot'ed, and the log messages you're seeing with the -3hr
time offset are from the process running chroot'ed.
So, some of the entries in the log have correct local time, but others
(most of them) are seemingly using the GMT time (which is local summer
time -3h).
If you're running chroot'ed, copy your system's /etc/timezone into the
chroot base directory. That should solve the problem for you.
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users