[arch-general] Systemd and inactive sessions
Leonid Isaev
lisaev at umail.iu.edu
Thu Nov 1 18:41:41 EDT 2012
On Thu, 01 Nov 2012 15:51:38 -0600
Matthew Monaco <dgbaley27 at 0x01b.net> wrote:
> On 11/01/2012 03:43 PM, Leonid Isaev wrote:
> > Hi,
> >
> > I have just noticed that systemd-logind doesn't terminate inactive
> > sessions. For example, when I login, do something, then relogin, there are
> > 2 sessions:
> > $ loginctl
> > SESSION UID USER SEAT
> > 1 1000 lisaev seat0
> > 4 1000 lisaev seat0
> > However, only session 4 is active. Session 1 is inactive and has
> > state=closing: $ loginctl show-session 1
> > Id=1
> > Timestamp=Thu, 2012-11-01 14:42:18 CDT
> > TimestampMonotonic=32156744
> > DefaultControlGroup=name=systemd:/user/lisaev/1
> > VTNr=1
> > TTY=tty1
> > Remote=no
> > Service=login
> > Leader=327
> > Audit=1
> > Type=tty
> > Class=user
> > Active=no
> > State=closing
> > KillProcesses=no
> > IdleHint=yes
> > IdleSinceHint=1351805395173515
> > IdleSinceHintMonotonic=6489608483
> > Name=lisaev
> >
> > Is that expected?
> >
> > Thanks,
> >
>
> The session doesn't get removed completely until all processes belonging to
> it's cgroup have closed on their own.
Ahh, you are right, there was a fetchmail running in the background. Thanks
for the help.
--
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121101/cc17ba26/attachment-0001.asc>
More information about the arch-general
mailing list