From: Roman Bakshansky <bakshansky.lists@gmail.com>
To: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>,
linux-api@vger.kernel.org, Thorsten Kukuk <kukuk@suse.com>
Cc: linux-kernel@vger.kernel.org, audit@vger.kernel.org,
libc-alpha@sourceware.org
Subject: Re: [RFC] Modernizing Linux authentication logs (lastlog, btmp, utmp, wtmp) with SQLite
Date: Fri, 13 Mar 2026 20:48:25 +0300 [thread overview]
Message-ID: <948e83d4-4a34-41d5-a394-6c4ec17bc534@gmail.com> (raw)
In-Reply-To: <2d5de14a-17d2-4d08-992e-cbc5d430e231@linaro.org>
On 3/13/26 4:59 PM, Adhemerval Zanella Netto wrote:
> From the glibc standpoint my plan is just to make the accounting database
> function no-op [1] (I hopefully to get this in the next 2.44 release).
>
> And I think Thorsten Kukuk already adapted most of the usages in current
> distros [2][3] using similar strategy, along with a better systemd
> integration. I am not sure if/when distros are incorporating his work.
>
> [1] https://patchwork.sourceware.org/project/glibc/list/?series=37271
> [2] https://www.thkukuk.de/blog/Y2038_glibc_lastlog_64bit/
> [3] https://www.thkukuk.de/blog/Y2038_glibc_utmp_64bit/
Thank you for the links and information.
I have been following Thorsten Kukuk's work. I know that liblastlog2 is
already integrated into util-linux and successfully solves the Y2038
problem for lastlog. I am also aware of his wtmpdb project. These are
important steps in the right direction.
My RFC proposes to go further and provide a unified solution for all
four files: lastlog, btmp, utmp, wtmp. The idea is to create a set of
public libraries (liblastlog2, libbtmp2, libutmp2, libwtmp2) with a
consistent C interface, built on SQLite. This would provide 64-bit
timestamps, indexes for fast queries, ACID transactions, and schema
extensibility without breaking backward compatibility.
next prev parent reply other threads:[~2026-03-13 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 21:01 [RFC] Modernizing Linux authentication logs (lastlog, btmp, utmp, wtmp) with SQLite Roman Bakshansky
2026-03-13 13:59 ` Adhemerval Zanella Netto
2026-03-13 14:45 ` Vincent Lefevre
2026-03-13 17:49 ` Roman Bakshansky
2026-03-13 17:48 ` Roman Bakshansky [this message]
2026-03-13 18:03 ` Adhemerval Zanella Netto
2026-03-13 18:51 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=948e83d4-4a34-41d5-a394-6c4ec17bc534@gmail.com \
--to=bakshansky.lists@gmail.com \
--cc=adhemerval.zanella@linaro.org \
--cc=audit@vger.kernel.org \
--cc=kukuk@suse.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox