Confirmed on resolute.

I backported the upstream fix (commit 5683ed6320e0, moving -lpam to
pam_lastlog2_la_LIBADD so --as-needed keeps it) and rebuilt the package.

With the patch applied, readelf now correctly lists libpam.so.0:

$ readelf -d /usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so | grep NEEDED
 (NEEDED) Shared library: [liblastlog2.so.2]
 (NEEDED) Shared library: [libpam.so.0]
 (NEEDED) Shared library: [libc.so.6]

Tested on a clean resolute container with [email protected]. The module
loads cleanly with no dlopen errors.

Attached debdiff for resolute.
:)


** Patch added: "debdiff for resolute (link pam_lastlog2 with libpam)"
   
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2167039/+attachment/5999622/+files/util-linux_2.41.3-3ubuntu2.3.debdiff

** Changed in: util-linux (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167039

Title:
  pam_lastlog2.so not linked against libpam: "undefined symbol:
  pam_syslog" when loaded by systemd-executor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2167039/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to