Author: Andrew Bower Date: To: Lars Noodén CC: dng Subject: Re: [DNG] 64-bit time in new wtmp logs on Excalibur
On Mon, Jul 27, 2026 at 04:06:24AM +0300, Lars Noodén via Dng wrote: > I think this is upstream from Devuan, but wtmp on Excalibur is now in
> SQLite3 format with an integer which might be 64-bit time: [...] > The built-in datetime() function for SQLite3 does not handle that integer as
> a date-time because it is clearly not a UNIX Epoch. Also, the manual page
> for wtmp(5) for the login records seems to have information about the old
> format only and does not even mention the file wtmp.db.
While wtmpdb(8) was independently written and pushed with the intention
of replacing wtmp(5), let's not confuse it with wtmp, which still exists
and works (modulo distro decisions...). It's not really the job of a
libc man page to point to the wtmpdb application. Note that the seconds
in wtmp proper are now unsigned, so you can get post-2038 dates.
(Yes, wtmpdb stores microseconds as determined elsewhere in the thread.)