Bug#75250: ssh: syslogin_perform_logout: logout() returned an error

Frank Engler <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <175020324937.1024495.14165650010455649011.reportbug__41939.0936776594$1750203446$gmane$org@kong.lan.engleer.de>
Package: openssh-server
Version: 1:10.0p1-5
Followup-For: Bug #75250
X-Debbugs-Cc: [email protected]
Control: tags -1 patch

Dear Maintainer,

this message is the result of a missing (/var)/run/utmp. OpenSSH tries
to write, but this file does not exists in a default installation. To
resolve this issue we can create /run/utmp.
patch (text/plain, 342 B)
diff -urN a/openssh-10.0p1/debian/openssh-server.tmpfiles b/openssh-10.0p1/debian/openssh-server.tmpfiles
--- a/openssh-10.0p1/debian/openssh-server.tmpfiles	2025-05-09 14:40:49.000000000 +0200
+++ b/openssh-10.0p1/debian/openssh-server.tmpfiles	2025-06-17 01:01:14.300000000 +0200
@@ -1 +1,2 @@
 x /tmp/sshauth.*
+f /run/utmp 0664 root utmp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.