Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux.Sys.LastUserLogin probably needs to also cater for wtmpdb #4044

Open
predictiple opened this issue Jan 30, 2025 · 0 comments
Open

Linux.Sys.LastUserLogin probably needs to also cater for wtmpdb #4044

predictiple opened this issue Jan 30, 2025 · 0 comments

Comments

@predictiple
Copy link
Contributor

wtmpdb is a newer sqlite-based logging database to mitigate impact of the Y2038 problem that affects the older logging formats. More distros may migrate to it in future.

https://microos.opensuse.org/blog/2023-11-06-utmp-and-wtmp-are-gone/

With the last updates openSUSE MicroOS and Tumbleweed don’t use /run/utmp, /var/log/wtmp and /var/log/lastlog anymore. This files will no longer be created. /run/utmp will vanish with the next reboot, /var/log/wtmp and /var/log/lastlog will not be created with a fresh installation. On existing systems, the files will stay, but we will not read it anymore. It can be safely moved away by the administrator.

https://microos.opensuse.org/blog/2023-06-28-switch-to-wtmpdb/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant