Bug 45113 - utmp is not cleaned up if client quits improperly
Summary: utmp is not cleaned up if client quits improperly
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openssh   
(Show other bugs)
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-20 09:56 UTC by Olivier Baudron
Modified: 2008-05-01 15:38 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.