Summary: | sys-libs/pam: pam_lastlog is not present on musl systems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | A. Wilcox (awilfox) <awilfox.gentoo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | 2857, awilfox.gentoo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log for sys-libs/pam-1.5.3 on a musl amd64 system |
Description
A. Wilcox (awilfox)
2024-02-22 08:49:35 UTC
Created attachment 885673 [details]
build log for sys-libs/pam-1.5.3 on a musl amd64 system
Indeed, --enable-lastlog is passed, lastlog.h is correctly seen by configure, and it installs the man page.. but never builds the module.
I remember noticing this a while ago now you say it.. configure checks for the logwtmp function, and silently disables lastlog if the function is not available. https://github.com/linux-pam/linux-pam/blob/v1.6.0/configure.ac#L760 musl does not provide logwtmp. also stubmled upon this. It seems Adelie Linux has some progress? https://git.adelielinux.org/adelie/packages/-/blob/current/system/procps/use-utmpx.patch |