Re: svlogd timestamps fail on OpenBSD 5.5 (snapshot)

From: Jérémie Courrèges-Anglas <jca_at_wxcvbn.org>
Date: Tue, 22 Apr 2014 01:21:31 +0200

Mike Jackson <mj_at_netauth.com> writes:

> Hi,

Hi,

> I’ve just setup a new OpenBSD 5.5 (snapshot) machine and noticed that svlogd logs all timestamps as such:
>
> 1900-01-00_00:00:00.95511
>
> where the seconds never increment, only the 95511 portion will roll over and start back from zero, thus making svlogd’s timestamps useless. I’m running svlogd like this:
>
> exec chpst -u svlog svlogd -tt ntp
>
>
> I’m guessing that the problem might be related to the new implementation of time_t in OpenBSD:

[...]

Probably.

Questions:
- what architecture do you run, a 32 bits one?
- does this patch fix the problem? (blind guess)




-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
Received on Mon Apr 21 2014 - 23:21:31 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC