--
Ok, I've been chasing this problem for a while now...
I recently upgraded libc's, ld.so's gcc, etc.
When I did this I ran into problems with utmp not being updated when
someone logged out. I read the libc.so.5.2.18 release notes, and
changed my system so that there was only /var/run/utmp and /var/log/wtmp as
real files, and that /etc/utmp, /var/adm/utmp pointed to /var/run/utmp and
/etc/wtmp and /var/adm/wtmp pointed to /var/log/wtmp.
Here's the current situation:
If a user logs in remotely, utmp gets cleaned up properly when they exit.
If a user uses rxvt (instead of xterm) utmp gets cleaned up properly
when they exit.
But, if a user uses xterm...utmp gets updated to add the new tty, but
the new tty doesn't get deleted when they log out.
If anyone can explain this behaviour, I'm all ears.
Recently upgraded libs:
ld.so.1.7.14 (was slackware 3.0 default...maybe ld.so.1.7.3?)
libc.so.5.2.18 (was 5.0.9)
libg++-2.7.1.3
binutils-2.6.0.2
gcc-2.7.2
XFree86-3.1.2
utmp and wtmp files:
/etc/utmp -> /var/run/utmp
/var/adm/utmp -> /var/run/utmp
/var/run/utmp
/etc/wtmp -> /var/log/wtmp
/var/adm/wtmp -> /var/log/wtmp
/var/log/wtmp
----------
Eric Boyd
407 Memorial Dr
Cambridge Ma, 02139
617-494-6573
"It's easier to ask for forgiveness than for permission"
---------------------------------------------------------------------------
"640K ought to be enough for anybody." (Bill Gates, 1981)