Leap-16: openssh misses /run/utmp?

On a new install of Leap-16 the log shows this error after every logout from an ssh session

sshd-session[...]: syslogin_perform_logout: logout() returned an error

As far as I understand, Leap-16 uses wtmpdb to log logins but does not use (the old?) utmp. Seems like openssh misses this file, because after

touch /run/utmp

the errors vanish.
But this does not survive a reboot. What else can I do?

Submit a bug report

Isn’t this the last resort? Being a bit bashful, I always think the error is on my side.
But ok, if no other remedy pops up, I’ll do this.

No, community distro’s rely on work by the community. You’ve found and isolated an issue, submit a bug report.

@wogrow25 ignore it(?), it’s been around for awhile at times. I believe its due to the changes implemented for Y2K38 and utmp deprecation…

man tmpfiles.d

echo "f /run/utmp 0644 root root" > /etc/tmpfiles.d/run-utmp.conf

Adjust permissions and ownership as needed.

And yes, bug report is the correct next step.

All right, thanks for all your answers.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.