Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182668

Process kill on logout

From Alan Chandler <alan@chandlerfamily.org.uk>
Newsgroups linux.debian.user
Subject Process kill on logout
Date 2017-06-26 08:00 +0200
Message-ID <tWve2-6MA-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I have just upgraded from Jessie to Stretch and my arrangement where I 
logout and then mythtv shuts my computer down and sets a wakeup time 
just before the next recording time has stopped working.  In the past 
when that happens I have set up "screen", and entered an used "sleep 1m 
&& who -u" to find out why its not detecting me as logged out.  I set 
that command running, detach from screen, logout, ensure the minute is 
up, log back in and re-enter my screen session to see what it made of 
things.

That no longer works.  It appears that systemd now kills off all 
processess associated with the user - or rather I found a bug report 
that said that had happened about a year ago as the default had changed. 
That bug report said that /etc/systemd/logind.conf should allow you to 
change that default behaviour by setting KillUserProcesses=no.


Firstly, although commented out, that setting is already showing "no", 
which is supposed to mean that this is the default value anyway.  
Secondly setting it explicitly to "no" doesn't work, screen sessions 
still appear to have been wiped out by the act of logging out.

Can anyone tell me what to do to allow screen sessions to survive logout.




-- 
Alan Chandler
http://www.chandlerfamily.org.uk

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Process kill on logout Alan Chandler <alan@chandlerfamily.org.uk> - 2017-06-26 08:00 +0200
  Re: Process kill on logout davidson@freevolt.org - 2017-07-01 03:30 +0200

csiph-web