]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: document the --with-wtmpdb option master
authorBruno Haible <bruno@clisp.org>
Tue, 4 Aug 2026 15:17:27 +0000 (17:17 +0200)
committerCollin Funk <collin.funk1@gmail.com>
Fri, 7 Aug 2026 03:48:06 +0000 (20:48 -0700)
* DEPENDENCIES: Mention wtmpdb.
* NEWS: Mention the effects of --with-wtmpdb.

DEPENDENCIES
NEWS

index 375b08d2051cf5c1677033aa3239be010709300d..491f267cd063f6a328cb9ea26844636a86bb3466 100644 (file)
     - On Red Hat distributions: systemd-devel.
     - Other: https://repology.org/project/systemd/versions
 
+* wtmpdb libraries
+  + Recommended if wtmpdb is present on the system.
+    Needed for fetching login, logout, and boot times from
+    /var/log/wtmp.db instead of from the file /var/run/wtmp.
+    Related 'configure' option: --with-wtmpdb.
+  + Homepage:
+    https://github.com/thkukuk/wtmpdb
+  + Pre-built package name:
+     - On Debian and Debian-based systems: libwtmpdb-dev,
+     - On Red Hat distributions: --.
+     - Other: https://repology.org/project/wtmpdb/versions
+
 * libselinux
   + Mandatory on Linux systems that support SELinux.
     Needed so that the file utilities respect the security contexts,
diff --git a/NEWS b/NEWS
index 5dea7828c7fd162fa5be5e863d41ca0d901c6754..22ca32683b305cc40f405e1cd47f910a1e14fbce 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -83,6 +83,10 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 ** Improvements
 
+  When built with the configure option '--with-wtmpdb', invocations of
+  'who /var/log/wtmp' and 'users /var/log/wtmp' use the wtmpdb database
+  instead of the file /var/log/wtmp.  This makes them Y2038-safe.
+
   'df', 'du', 'ls', 'od', 'pr', and 'sort' now escape invalid arguments in error
   messages for options expecting an integer.