[Bug 3844] New: syslogin_perform_logout: logout() returned an error

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 27 15:56:42 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3844

            Bug ID: 3844
           Summary: syslogin_perform_logout: logout() returned an error
           Product: Portable OpenSSH
           Version: 10.0p2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: srinivas.uppoju at gmail.com

The sshd-session module is throwing below errors when user logs out of
the system.
/var/log/wtmp and /var/log/lastlog files are removed in the latest
version of linux/debian but the sshd modules tries to read/write from
these files when user logs out.

./auth.log:Jun 23 06:19:18 ims-debian-server sshd-session[25834]:
syslogin_perform_logout: logout() returned an error
./auth.log:Jun 23 06:36:43 ims-debian-server sshd-session[27776]:
syslogin_perform_logout: logout() returned an error
./auth.log:Jun 23 07:08:41 ims-debian-server sshd-session[29566]:
syslogin_perform_logout: logout() returned an error
./auth.log:Jun 23 09:43:05 ims-debian-server sshd-session[29701]:
syslogin_perform_logout: logout() returned an error
./auth.log:Jun 23 10:20:12 ims-debian-server sshd-session[30442]:
syslogin_perform_logout: logout() returned an error
./auth.log:Jun 23 10:47:33 ims-debian-server sshd-session[32117]:
syslogin_perform_logout: logout() returned an error

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list