systemd v247 ships two systemd-user pam files
Task Info (Flyspray) | |
---|---|
Opened By | AMM (amish) |
Task ID | 68830 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2020-12-03 01:53:36 UTC |
Status | Assigned |
Assignee | Christian Hesse (eworm) |
Details
Description: Since systemd v247 Arch linux ships two versions of systemd-user PAM file.
/usr/lib/pam.d/systemd-user /etc/pam.d/systemd-user
This is due to systemd moving their PAM file to /usr/lib/pam.d
Systemd also recommends that vendors migrate to /usr/lib/pam.d from /etc/pam.d
https://github.com/systemd/systemd/blob/master/NEWS#L122
We recommend moving all packages' vendor versions of their PAM stack definitions from /etc/pam.d/ to /usr/lib/pam.d/, but if such OS-wide migration is not desired the location to which systemd installs its PAM stack configuration may be changed via the -Dpamconfdir Meson option.
Because of presence of /etc/pam.d/systemd-user the /usr/lib/pam.d/systemd-user is never used by PAM library. (So only one is required)
We need to decided which version is best and move it to /usr/lib/pam.d/
PS: There is also an old and related discussion / bug report here. (regarding PAM directory) https://bugs.archlinux.org/task/61790
Additional info:
-
package version(s) systemd 247
-
config and/or log files etc. /usr/lib/pam.d/systemd-user /etc/pam.d/systemd-user
-
link to upstream bug report, if any https://github.com/systemd/systemd/blob/master/NEWS#L122