Package: systemd Version: 251.3-1 Severity: normal File: /usr/share/doc/systemd/README.Debian.gz
The README.Debian file duefully documents the surprising[1] effects that happen when using tmux or similar under in a logind session. However, it only covers the KillUserProcesses part of things (a mechanism that Debian thankfully disables by default), and not the linger part, which has a similar (if not the same) effect and is set to kill by default. Suggested new text, based on the current one: > KillUserProcesses and linger behavior in Debian > =============================================== > > If KillUserProcesses=yes is configured in logind.conf(5), the session scope > will be terminated when the user logs out of that session. > > Likewise, processes launched by users configured as Linger=no (see > loginctl(1)) are terminated. > > See logind.conf(5): > > | Note that setting KillUserProcesses=yes will break tools like screen(1) and > | tmux(1), unless they are moved out of the session scope. > > The default for KillUserProcesses in /etc/systemd/logind.conf is set > to "yes" in upstream systemd, though Debian defaults to "no" (see #825394). > > The default Linger value for users is set to "no", and may need to be > altered with `loginctl enable-linger ${USER}` to keep screen and tmux > useful. [1]: https://bugs.debian.org/1016475 -- Package-specific info: -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages systemd depends on: ii adduser 3.123 ii libacl1 2.3.1-1 ii libaudit1 1:3.0.7-1+b1 ii libblkid1 2.38-6 ii libc6 2.33-8 ii libcap2 1:2.44-1 ii libcryptsetup12 2:2.5.0-1 ii libfdisk1 2.38-6 ii libgcrypt20 1.10.1-2 ii libkmod2 30+20220630-3 ii liblz4-1 1.9.3-2 ii liblzma5 5.2.5-2.1 ii libmount1 2.38-6 ii libseccomp2 2.5.4-1+b1 ii libselinux1 3.4-1+b1 ii libssl3 3.0.5-1 ii libsystemd-shared 251.3-1 ii libsystemd0 251.3-1 ii libzstd1 1.5.2+dfsg-1 ii mount 2.38-6 Versions of packages systemd recommends: ii dbus [default-dbus-system-bus] 1.14.0-2 ii ntpsec [time-daemon] 1.2.1+dfsg1-7+b1 Versions of packages systemd suggests: ii libfido2-1 1.11.0-1+b1 ii libtss2-esys-3.0.2-0 3.2.0-1+b1 ii libtss2-mu0 3.2.0-1+b1 ii libtss2-rc0 3.2.0-1+b1 ii policykit-1 0.105-33 pn systemd-boot <none> ii systemd-container 251.3-1 pn systemd-homed <none> pn systemd-userdbd <none> Versions of packages systemd is related to: ii dbus-user-session 1.14.0-2 pn dracut <none> ii initramfs-tools 0.142 pn libnss-systemd <none> ii libpam-systemd 251.3-1 ii udev 251.3-1 -- no debconf information -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
signature.asc
Description: PGP signature