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?