Re: [arch-general] Systemd and inactive sessions

2012-11-06 Thread Thomas Bächler
Am 05.11.2012 22:43, schrieb Leonid Isaev: >> Important caveat to that setting: >> >> "Note that setting KillUserProcesses=1 will break tools like screen(1)" >> >> DR >> > > Yes, I learnt that the hard way :) So it's a useful setting for a laptop, but > obviously not for a server... I was hoping

Re: [arch-general] Systemd and inactive sessions

2012-11-05 Thread Leonid Isaev
On Mon, 05 Nov 2012 16:21:21 -0500 David Rosenstrauch wrote: > On 11/01/2012 06:47 PM, Leonid Isaev wrote: > > On Thu, 01 Nov 2012 22:57:41 +0100 > > Thomas Bächler wrote: > >>> The session doesn't get removed completely until all processes belonging > >>> to it's cgroup have closed on their own

Re: [arch-general] Systemd and inactive sessions

2012-11-05 Thread David Rosenstrauch
On 11/01/2012 06:47 PM, Leonid Isaev wrote: On Thu, 01 Nov 2012 22:57:41 +0100 Thomas Bächler wrote: The session doesn't get removed completely until all processes belonging to it's cgroup have closed on their own. See man logind.conf, search for 'KillUserProcesses'. OK, changed to 'yes' t

Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Ray Kohler
On Thu, Nov 1, 2012 at 5: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 >SESSIONUID USER SEAT >

Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
On Thu, 01 Nov 2012 22:57:41 +0100 Thomas Bächler wrote: > Am 01.11.2012 22:51, schrieb Matthew Monaco: > >> $ loginctl show-session 1 > > Try session-status. > Yes, found the ghost fetchmail process. > > The session doesn't get removed completely until all processes belonging > > to it's cgr

Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
On Thu, 01 Nov 2012 15:51:38 -0600 Matthew Monaco 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: > > $ login

Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Thomas Bächler
Am 01.11.2012 22:51, schrieb Matthew Monaco: >> $ loginctl show-session 1 Try session-status. > The session doesn't get removed completely until all processes belonging to > it's > cgroup have closed on their own. See man logind.conf, search for 'KillUserProcesses'. signature.asc Description

Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Matthew Monaco
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 >SESSIONUID USER SEAT >

[arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
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 SESSIONUID USER SEAT 1 1000 lisaev seat0