Files
poky/meta/recipes-extended
Yi Zhao e2e26a1619 libpam: set pam module path to ${base_libdir}/security
After upgrading to 1.7.0, the pam module path is set to
${libdir}/security[1]. But from the pam.conf(5) man page, the default
location seems to be "Module location: /lib/security/ or
/lib64/security/, depending on the architecture"[2].

Many third-party pam modules still use {base_libdir}/security as the
default module path, such as pam_lastlog2 (from util-linux), pam_cgroup
(from libcgroup), pam_cap (from libcap), etc.
So currently if you don't use the absolute path to these modules in the
files in /etc/pam.d/, they will not be found:

PAM unable to dlopen(/usr/lib/security/pam_lastlog2.so):
/usr/lib/security/pam_lastlog2.so: cannot open shared object file: No such file or directory

This change only affects sysvinit without usrmerge feature enabled, and
has no effect on systems using systemd.

[1] https://git.openembedded.org/openembedded-core/commit/?id=00eb730291f9630eb70480d37ed48fbadecc547a
[2] https://www.man7.org/linux/man-pages/man5/pam.conf.5.html

(From OE-Core rev: bc307ac262956a763fb68d621fb6463b1460bf59)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
..
2024-05-16 11:06:01 +01:00
2024-12-20 12:47:19 +00:00
2024-12-05 17:07:10 +00:00
2023-06-27 16:23:40 +01:00
2024-05-28 09:38:23 +01:00
2024-10-15 11:47:24 +01:00
2024-11-27 14:58:48 +00:00
2023-05-22 10:53:48 +01:00
2024-10-29 11:19:57 +00:00
2022-04-19 14:14:12 +01:00
2024-02-03 22:08:26 +00:00
2024-08-05 14:31:57 +01:00
2024-11-27 16:44:47 +00:00
2023-07-17 15:30:04 +01:00
2024-11-27 14:58:48 +00:00
2024-11-18 22:09:02 +00:00
2024-11-27 16:44:48 +00:00
2024-11-01 12:13:18 +00:00
2024-04-16 08:07:02 +01:00
2024-11-29 18:26:14 +00:00
2024-08-23 22:43:27 +01:00
2024-09-04 12:38:44 +01:00
2024-03-07 17:25:02 +00:00
2024-10-11 12:17:02 +01:00
2021-08-02 15:44:10 +01:00
2023-09-02 18:23:06 +01:00
2024-10-25 15:25:33 +01:00
2022-08-21 22:51:42 +01:00
2024-12-12 12:52:39 +00:00
2024-09-30 17:00:51 +01:00
2024-07-16 11:25:29 +01:00
2023-09-28 12:37:46 +01:00
2024-12-05 17:07:10 +00:00
2022-08-17 19:57:32 +01:00
2024-09-04 12:38:44 +01:00
2024-11-27 14:58:48 +00:00
2023-04-05 08:39:43 +01:00
2024-10-11 12:17:03 +01:00
2024-09-04 12:38:44 +01:00
2024-05-30 09:04:14 +01:00