From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3ea33431f1784014767d09f01a56d54a.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199703100301.VAA19277@kamper.digimag.net> Date: 09 Mar 1997 02:31:55 -0500 From: Matthew X. Economou Subject: Re: logged out users stays when i run >>>>> "PM" == Patrik Moberg writes: PM> I have a problem with users that have logged out stays and PM> shows as they still is on the machine when running PM> "who". Anyone know how to fix that problem. I am using Redhat PM> 4.1 on an Multia 166Mhz. I also seem to be having problems with utmp handling on my RedHat 4.1 installation. For example, I have just logged in and ran three xterms. 'who', however, reports a strange login time on the third xterm: econommx ttyp0 Mar 9 00:56 (:0.0) econommx ttyp1 Mar 9 00:56 (:0.0) econommx ttyp2 Dec 31 23:36 (:0.0) Even stranger, if I run screen, and try to hide one of my login sessions (with the "C-a L" command), I get the error messages: Utmp slot not found -> not removed What? Cannot remove Utmp slot? Later, after I exit (not detatch!) screen, 'who' outputs the following: econommx ttyp0 Mar 9 00:56 (:0.0) econommx ttyp2 Dec 31 23:36 (:0.0) econommx ttya0 Mar 9 02:17 (:0:S.0) econommx ttya1 Mar 9 02:17 (:0:S.1) econommx ttyp1 Mar 9 00:56 (:0.0) But I exited all the shells that screen spawned! Those middle two lines (the ttya* ones) shouldn't be there. Do the xterm and screen programs do their own utmp handling (that is, do they bypass the library routines and modify the files directly)? I remember hearing something on linux-gcc about programs that do their own utmp handling breaking under the new libc. I assume that's what's happening. And so people can yell at me and tell me to upgrade to the latest stuff before mailing the lists, here are the rpm versions of (IMHO) relevant stuff that I'm currently using: XFree86-3.2-5 screen-3.7.1-4 glibc-0.961212-4 -- Matthew X. Economou - Finger/WWW for public key. - Geek of Computer Science(!) econommx@rose-hulman.edu - http://www.rose-hulman.edu/~econommx - Random quote: "OK, I admit it: My girlfriend's just an object to me. Unfortunately, there is some information hiding, but thankfully, she's fairly encapsulated, nicely modular, and has a very well defined interface!" -- Frank Fabbrocino -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com