See https://microos.opensuse.org/blog/2023-09-28-replace-utmp-with-logind/ and so on. >=pam-1.5.1 has --{enable,disable}-logind for its lastlog module. We currently pass --disable-logind as it doesn't have elogind support yet.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e05f732a617ecfe7a5e875ebb044074f58b386 commit c8e05f732a617ecfe7a5e875ebb044074f58b386 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-03 08:12:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-03 08:12:53 +0000 sys-libs/pam: add bug ref for elogind TODO Bug: https://bugs.gentoo.org/931115 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/pam/pam-1.5.3-r1.ebuild | 2 +- sys-libs/pam/pam-1.5.3.ebuild | 2 +- sys-libs/pam/pam-1.6.1.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
I was wrong at first: lastlog is deprecated, and replaced by a logind-backed module. We currently enable lastlog temporarily until we get elogind support sorted. Quoting 1.5.3 release notes: """ Deprecated pam_lastlog: this module is no longer built by default because it uses utmp, wtmp, btmp and lastlog, but none of them are Y2038 safe, even on 64bit architectures. pam_lastlog will be removed in one of the next releases, consider using pam_lastlog2 (from https://github.com/thkukuk/lastlog2) and/or pam_wtmpdb (from https://github.com/thkukuk/wtmpdb) instead. """
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb07a754c3ef70e7165adb2e0800050d95dc10ee commit eb07a754c3ef70e7165adb2e0800050d95dc10ee Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-08 04:15:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-08 04:55:44 +0000 sys-libs/pam: add 1.7.0_p20241230 * Switch to Meson * Wire up elogind+logind support (bug #931115) as it's now available upstream * Docs are hard-disabled for now, but that's sort of fine (enough) for now given that we had bug #913087 for the previous ebuild * Using a snapshot as there's a few build system patches post-tag and some other generally noteworthy patches we'd have to pull in manually otherwise * Wire up verify-sig for the next release (but not used for this ebuild as took a snapshot) Bug: https://bugs.gentoo.org/913087 Bug: https://bugs.gentoo.org/942075 Closes: https://bugs.gentoo.org/929970 Closes: https://bugs.gentoo.org/925334 Closes: https://bugs.gentoo.org/931115 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/pam/Manifest | 1 + sys-libs/pam/pam-1.7.0_p20241230.ebuild | 165 ++++++++++++++++++++++++++++++++ 2 files changed, 166 insertions(+)