Inconsistent utx.active?

Vlad Galu dudu at dudu.ro
Fri Feb 24 22:54:36 UTC 2012


On Friday, February 24, 2012 at 10:40 PM, Ed Schouten wrote:
> Hi Vlad,
> 
> * Vlad Galu <dudu at dudu.ro (mailto:dudu at dudu.ro)>, 20120224 23:35:
> > Yes, sorry about that. I'm seeing stale (which sometimes turn into
> > duplicate) entries when I log off and on again. The symptom seems to
> > be exacerbated by unclean logouts (such as when my stateful corporate
> > firewall kills my SSH sessions - I don't have keepalives active at
> > either end).
> > 
> > In the example below, I'm actually logged on from IP address X.Y.Z.T,
> > the first two entries belong to earlier sessions that have been long
> > gone. The pts is the same, and the command displayed under WHAT is
> > mirrored for all 3 entries.
> 
> 
> 
> Would you mind pasting the output of `getent utmpx active'?
> 
Not at all, here it is:

-- cut here --
[1330014380.652067 -- Thu Feb 23 17:26:20 2012] user process: id="4f86d023f250d3c9" pid="39012" user="dudu" line="pts/0" host="A.B.C.D"
[1330014398.177818 -- Thu Feb 23 17:26:38 2012] user process: id="269d75b37f295346" pid="39221" user="dudu" line="pts/1" host="A.B.C.D"
[1330085459.796787 -- Fri Feb 24 13:10:59 2012] user process: id="d026e8e5c0648ec2" pid="38093" user="dudu" line="pts/0" host="A.B.C.D"
[1330122640.813570 -- Fri Feb 24 23:30:40 2012] user process: id="dd8d3dff2f3002a0" pid="82959" user="dudu" line="pts/0" host="X.Y.Z.T"
[1330122493.638088 -- Fri Feb 24 23:28:13 2012] user process: id="92b73279a543d99f" pid="73085" user="dudu" line="pts/1" host="X.Y.Z.T"
[1330122498.444614 -- Fri Feb 24 23:28:18 2012] user process: id="c0f3c404a3ca8565" pid="73573" user="dudu" line="pts/2" host="X.Y.Z.T"

[1330122634.538515 -- Fri Feb 24 23:30:34 2012] dead process: id="fea56df5dde26e4d" pid="76338"
-- and here -- 

The local time is UTC+1. The current (and only) bash PID (82986) is not even on that list. 




More information about the freebsd-stable mailing list