Timestamps shifted by 8 hours

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Oct 4 15:45:18 UTC 2011


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

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?

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111004/717da79f/signature.pgp


More information about the freebsd-questions mailing list