[CCing Sven and Thorsten; the thread starts here: https://lists.gnu.org/archive/html/bug-gnulib/2023-09/msg00064.html ]
Paul Eggert wrote: > On 2023-09-09 04:13, Bruno Haible wrote: > > > What's the right replacement? > > - wtmpdb ? [3] > > - journalctl --list-boots ? [4][5] > > - last ? [4] > > This depends on what platforms using systemd will do (if anything) about > the information currently stored in /var/log/wtmp on GNU/Linux. > > As I understand it, systemd currently has no support for wtmp after > 2038, with the idea being that wtmp will go away by then. I also > understand that 'last' simply does what GNU 'who' does, so it'll stop > working too. > > As near as I can tell, journalctl isn't really a substitute for > /var/log/wtmp; for that, wtmpdb seems to be the only viable approach > that's implemented. > > For what it's worth, Debian is looking into possibly adopting wtmpdb; > see <https://bugs.debian.org/1043507>. So if we need advice about what > Gnulib should do, Sven and Thorsten look like they'd be good people to ask.