Bug#946645: KillUserProcesses=no disregarded for some cgroups
Michael Biebl
biebl at debian.org
Sun Jan 26 00:29:38 GMT 2020
Control: tags -1 moreinfo unreproducible
On Thu, 12 Dec 2019 19:05:09 +0100 chrysn <chrysn at fsfe.org> wrote:
> Package: systemd
> Version: 244-3
> Severity: normal
> File: /usr/share/man/man5/logind.conf.5.gz
>
> The documentation about KillUserProcesses claims that processes will be
> left alive after user logout when set to "no", and specifically mentions
> tmux as one application.
>
> This is only correct under some circumstances (apparently related to
> cgroups, but I'm not familiar enough with them to give good details).
> The observed issue is as follows:
>
> * In a fresh sid installation, start Gnome under X11 (Wayland not
> tested).
> * Alt+F2, xterm
> * tmux
> * Ensure you recognize the screen again later on
> * Log out
> * Log in back again, open xterm again
> * tmux attach: "no sessions" -- the session was killed
This works fine for me, so I can reproduce the issue with the given
information.
Do you have libpam-systemd installed and enabled?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200126/2ad2eb00/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list