bugzilla-daemon at mindrot.org
2025-Jun-27 05:56 UTC
[Bug 3844] New: syslogin_perform_logout: logout() returned an error
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.
bugzilla-daemon at mindrot.org
2025-Jun-30 02:00 UTC
[Bug 3844] syslogin_perform_logout: logout() returned an error
https://bugzilla.mindrot.org/show_bug.cgi?id=3844
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Have you reported this to Debian? sshd calls logout(3) for this
processing, which is a standard system interface. If the system no
longer supports the files behind this interface then the system should
make logout(3) handle this situation gracefully.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2025-Jun-30 05:27 UTC
[Bug 3844] syslogin_perform_logout: logout() returned an error
https://bugzilla.mindrot.org/show_bug.cgi?id=3844 --- Comment #2 from srinivas.uppoju at gmail.com --- Yes, Created a bug with debian system as well, if this needs to be fixed from debian side we can close this bug. Thanks. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.