[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64937: "who" reports funny dates
From: |
Paul Eggert |
Subject: |
bug#64937: "who" reports funny dates |
Date: |
Sun, 30 Jul 2023 10:03:34 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 2023-07-30 04:02, Pádraig Brady wrote:
Yes I think the consensus is to switch away from the utmp API,
which was recently discussed at:
https://lists.gnu.org/archive/html/coreutils/2023-06/msg00024.html
If I understand that discussion correctly, the idea is to switch from
utmp/utmpx to the systemd interface once systemd 254 comes out.
As it happens, systemd 254 was published Friday. It'd be good to get it
working with coreutils.
Thorsten's draft coreutils patches
<https://github.com/thkukuk/utmpx/tree/main/patches/coreutils> are a bit
long, and I'm hoping we can simplify this by packaging the fix inside
Gnulib (much as we already packaged the fix for <utmpx.h> not working on
32-bit GNU/Linux x86 and ARM when _TIME_BITS is 64[1]), so that we
needn't patch Coreutils other than to upgrade Gnulib version.
Is there any way to test this stuff easily on a platform like Fedora 38
that is running systemd 253? That is, can I merely build the systemd
libraries and link to them (how?), or would I have to replace the entire
systemd ecosystem?
[1]: https://lists.gnu.org/r/bug-gnulib/2023-07/msg00159.html