Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 22:54:29 +0000
From:      Vlad Galu <dudu@dudu.ro>
To:        Ed Schouten <ed@80386.nl>
Cc:        stable@freebsd.org
Subject:   Re: Inconsistent utx.active?
Message-ID:  <9DAEF77AE05F4151AD561D26DF5D69F1@dudu.ro>
In-Reply-To: <20120224224016.GI32748@hoeg.nl>
References:  <20120224221526.GH32748@hoeg.nl> <350DE43596674E608581BB2536231611@dudu.ro> <20120224224016.GI32748@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, February 24, 2012 at 10:40 PM, Ed Schouten wrote:
> Hi Vlad,
> 
> * Vlad Galu <dudu@dudu.ro (mailto:dudu@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. 





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