Mailinglist Archive: opensuse-factory (742 mails)

< Previous Next >
Re: [opensuse-factory] systemd not being stopped when you log out
  • From: Ianseeks <bingmybong@xxxxxxxxxxxxxx>
  • Date: Wed, 21 Mar 2018 20:05:58 +0000
  • Message-id: <1745934.1qqHyoIQx5@lianli>
On Wednesday, 21 March 2018 18:29:26 GMT John Paul Adrian Glaubitz wrote:

On Mar 21, 2018, at 10:28 PM, Ianseeks <bingmybong@xxxxxxxxxxxxxx> wrote:

Thats the problem, i don't know if its intended. I would have thought that
all user processes should get shut down at logoff.

That depends on whether you have KillUserProcesses=yes in
/etc/systemd/logind.conf.

Note: This also kills things like screen snd tmux, if you want them to
survive, you need to use something like „systemd-run —user screen“ with
lingering enabled (see manpage).

Adrian

I've checked "logind.conf" (dated January 2017) and none of the keywords have
values after the "=". Because there is no value with the KillUserProcesses
keyword, it should default to "yes" and then it inspects KillOnlyUsers=,
KillExcludeUsers=. KillExcludeUsers should default to "root".

But there is a "logind.conf.rpmnew" (January 2018) with some new keywords and
many of the keywords have values e.g. KillUserProcesses=no and
KillExcludeUsers=root

I guess the question is, did i miss some instructions that said i should have
replaced the existing logind.conf with the logind.conf.rpmnew one as a newer
version of systemd was installed and then updated KillUserProcesses= to "yes".

I'll give it a try and see what happens once i've backed up

--
opensuse:tumbleweed:20180318
Qt: 5.10.0 KDE Frameworks: 5.43.0 - KDE Plasma: 5.12.3 - kwin 5.12.3
kmail2 5.7.2 - akonadiserver 5.7.2 - Kernel: 4.15.9-1-default -
xf86-video-nouveau: 1.0.15



--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >