Bug 45113

Summary: utmp is not cleaned up if client quits improperly
Product: [Retired] Red Hat Raw Hide Reporter: Olivier Baudron <olivier.baudron>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-16 18:22:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Olivier Baudron 2001-06-20 09:56:22 UTC
The problem is with openssh-server-2.9p1-3gss and 2.9p2.

To reproduce the bug:
* open an ssh2 session (e.g: ssh -l guest localhost)
* send SIGTERM to the xterm holding this session
* type "who" on the server and notice that the client pts/ is still there

So the ssh server improperly cleans /var/run/utmp.
The problem is that, it can completly messes up the logs on the system.
Also note, that if you quit the session with ALT-D, everything works fine.

Comment 1 Olivier Baudron 2001-08-16 18:22:24 UTC
This is fixed in openssh cvs.

Comment 2 Olivier Baudron 2001-11-14 14:56:35 UTC
Now, fixed in openssh-3.0p1-1.