Timestamps shifted by 8 hours
Janos Dohanics
web at 3dresearch.com
Tue Oct 4 17:23:20 UTC 2011
On Tue, 04 Oct 2011 16:44:59 +0100
Matthew Seaman <m.seaman at infracaninophile.co.uk> wrote:
> On 04/10/2011 14:50, Janos Dohanics wrote:
> > So, I asked the wrong question. The question I should be asking is:
> > Why are timestamps wrong in /var/log/filter.log even though date
> > shows the correct time? However, this question I should ask the
> > pfSense list...
>
> Hmmm...
>
> Somewhat of an outside chance, but timezones can be set per-process,
> just by setting TZ in the environment. Make sure that procfs(5) is
> mounted, and try running
>
> ps -auxwwwe | grep TZ
Well, my pfSense installation does not have /proc, and I'd hate to mess
with a production system of a customer...
> If there is a process with TZ set in the environment, especially if it
> is set to 'America/Los_Angeles' or similar (9 hours offset from UTC is
> typical for PDT)[*] that's probably your smoking gun right there. Do
> you have West Coast based users/admins who might have restarted some
> processes or reloaded firewall rulesets?
>
> Cheers,
>
> Matthew
>
> [*] Or else on Guam or some other part of the Eastern Pacific?
I'm the only one (I hope...) with access to this box...
--
Janos Dohanics
More information about the freebsd-questions
mailing list