Bruno Haible via Gnulib discussion list <[email protected]> writes: > As mentioned in the thread starting at > https://lists.gnu.org/archive/html/bug-gnulib/2023-09/msg00064.html > and then again in > https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00145.html > https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00281.html > > it would be useful to optionally make use of wtmpdb in the Gnulib module > 'readutmp', for the sake of the coreutils programs 'who' and 'users'. > > This patch does it: it uses the wtmpdb library when the users asks for > the results of /var/log/wtmp. > > Find attached a corresponding patch for coreutils. > > Here are the effects on some coreutils program invocations (as seen on > a Devuan 6 system):
This change looks good to me. I tested it on a Debian system and saw the expected behavior. I pushed the coreutils patch, since it seemed fairly obvious. I'm not the best writer/judge of NEWS entries, though, so Pádraig may want to adjust it later. :) Thanks, Collin
