From owner-freebsd-stable Mon Apr 6 01:37:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22978 for freebsd-stable-outgoing; Mon, 6 Apr 1998 01:37:00 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA22967 for ; Mon, 6 Apr 1998 01:36:47 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id KAA04496; Mon, 6 Apr 1998 10:35:28 +0200 Message-ID: <35289394.1E1D5E06@we.lc.ehu.es> Date: Mon, 06 Apr 1998 10:34:28 +0200 From: "Jose M. Alcaide" Organization: Universidad del País Vasco - Dep. de Electricidad y Electrónica X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: "David E. Tweten" CC: stable@FreeBSD.ORG Subject: Re: 2.2.6, utmp, wtmp, and xterm References: <199804050717.XAA01331@ns.frihet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk David E. Tweten wrote: > > I first noticed this in 2.2.6-BETA, unfortunately not until after the > release. I've since confirmed it with -stable from just a few days ago. The > problem's most likely in XFree86 3.3.2, but I can't be sure since I no longer > have any machines that run anything before XFree86 3.3.2 and post-2.2.6 > FreeBSD. I'm hoping this question will save me having to debug xterm. > > The presenting symptom is who(1) lists pseudo-terminals as active that are > long since gone. I populate most xterms with a login shell. It only happens > with ptys that have been used by xterm. Rlogind ptys are okay; so are vtys. > Both /var/run/utmp and /var/log/wtmp claim any pty that ever supported an > xterm is still logged in. Run a last(1) on my machine, and you'll see the > only way an xterm ever gets terminated is by "shutdown". Of course, that's > not true. They terminate quite nicely, requiring only that "logout" be typed > at csh. > > [ rest of message deleted ] I have the same problem. I'm not sure if it's related to 2.2.6 or XFree86 3.3.2, since I upgraded both almost simultaneously. However, I think that this is a XFree86 3.3.2 problem, because rlogind, telnetd and so on remove the utmp entries correctly. At least, now I know that I'm not the only one suffering this problem! -- JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message