Bug 2361597

Summary: util-linux: Migrate to lastlog2
Product: [Fedora] Fedora Reporter: Iker Pedrosa <ipedrosa>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: kzak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-16 10:49:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2360108    

Description Iker Pedrosa 2025-04-22 09:46:15 UTC
As part of Fedora System-Wide Change https://fedoraproject.org/wiki/Changes/Migrate_to_lastlog2 migrate to lastlog2

Tasks:
* Change configuration to start providing lastlog2 functionality
* Create lastlog -> lastlog2 symbolic link
* Migrate lastlog database to lastlog2 during the upgrade process

Side-tag information "fedpkg build --target=f43-build-side-110506"

Reproducible: Always

Comment 1 Karel Zak 2025-05-12 12:58:35 UTC
The liblastlog2 has been enabled in rawhide since util-linux-2.41-2.fc43. 

https://koji.fedoraproject.org/koji/taskinfo?taskID=132637682

The next step is to use the library and PAM module in /etc/pam.d/postlogin (maintained by autoselect) and disable the old last log (maintained by shadow-utils).