Verification performed for util-linux / libpam-lastlog2
(2.41.3-3ubuntu2.3) in resolute-proposed.
Environment:
- Ubuntu 26.04 LTS (Resolute) amd64
- Installed packages: util-linux 2.41.3-3ubuntu2.3, libpam-lastlog2
2.41.3-3ubuntu2.3
Verification Steps & Results:
1. Dynamic dependencies (DT_NEEDED) verification:
Before update (2.41.3-3ubuntu2.2):
$ readelf -d /usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [liblastlog2.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
(libpam.so.0 was missing)
After update from resolute-proposed (2.41.3-3ubuntu2.3):
$ readelf -d /usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [liblastlog2.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpam.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
(libpam.so.0 is now correctly present in DT_NEEDED)
2. Undefined symbols check:
$ ldd -r /usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so
Resolves all symbols cleanly with 0 undefined symbols.
3. Module loading under RTLD_LOCAL (Python ctypes):
$ python3 -c "import ctypes; h =
ctypes.CDLL('/usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so');
print('dlopen SUCCESS:', h)"
Output: dlopen SUCCESS: <CDLL
'/usr/lib/x86_64-linux-gnu/security/pam_lastlog2.so', handle 26a93cd0 at
0x72f6477ad2b0>
4. Live systemd PAM session test:
Restarted user manager:
$ systemctl restart [email protected]
Journal output shows clean session initialization with 0 errors:
systemd[1]: Starting [email protected] - User Manager for UID 1000...
(systemd)[108855]: pam_unix(systemd-user:session): session opened for user
ubuntu(uid=1000) by ubuntu(uid=0)
systemd[1]: Started [email protected] - User Manager for UID 1000.
No "PAM unable to dlopen(pam_lastlog2.so)" or "undefined symbol:
pam_syslog" errors occurred.
The fix works as expected. Setting tag verification-done-resolute.
** Tags added: verification-done-resolute
--
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