Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 12:26:02 -0600 (CST)
From:      Igor Roshchin <igor@physics.uiuc.edu>
To:        stable@freebsd.org
Subject:   problem with wtmp in 3.x family
Message-ID:  <199912111826.MAA01536@alecto.physics.uiuc.edu>

next in thread | raw e-mail | index | archive | help

Hello!


I am not sure if this problem has been discussed here,
but I could not find it in the archives, although I know
a few people besides me who observed this problem.
There is a bug which seems to exist in the 3.x family of FreeBSD.
I haven't seen it in 2.x, and I observe it on a 3.1-stable 
(19990412) box, as well as on a 3.3-RELEASE  box.

The problem observed is as follows:

1. The record in wtmp file is not updated properly.
This seems to be happening when the connection dies (e.g. "reset by peer"),
say, when a people connected from a ppp-via-dialup host gets kicked
off by a modem, and the connection is not disconneted properly.

Initial connection could be established via ssh or via telnet -
this does not seem to play any role, although I did not do a detailed
research on this issue.

2. The utmp record is not updated either.
So, "w" shows a person being logged in, even though there are no processes
running on that tty. (accordingly w shows "-" as a current process).
When somebody else logs in on that tty, the utmp record is updated,
but not the wtmp one.

In most cases, if not in all, the users use "screen".
I am not sure if the use of screen is necessary condition or just 
a coinsidence.


Please, Cc: to me, because I am not currently subscribed to this list.

Regards,

Igor



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912111826.MAA01536>