Package: systemd
Version: 252.5-2
Severity: important
Tags: upstream patch
X-Debbugs-Cc: debian.fab@erine.email

Hello, 

when the kernel OOM kills a process, systemd will kill all the user
session's processes as well, possibly leading to lost work, data loss,
etc. 

The observed behaviour on my computer is as follows: at some point,
Firefox used all the system memory I had, which triggered the kernel OOM
killer (killing Firefox) and then, systemd also killed all the other
processes of my slice or scope, leading to the end of my graphical
session and the loss of unsaved work. 

The bug is reported here: https://github.com/systemd/systemd/issues/25376

There is a fix available here: https://github.com/systemd/systemd/pull/25385

This fix has been included in upstream from v253-rc1. 

PLESE INCLUDE IT it a Debian patch of this package if you don't plan on
deploying v253 in Debian 12 Bookworm. 

This would prevent dangerous behaviour to make it to the future stable
and annoying everybody out there. 

Thank you, 
Fab

-- Package-specific info:

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.1-3
ii  libaudit1          1:3.0.7-1.1+b3
ii  libblkid1          2.38.1-4
ii  libc6              2.36-8
ii  libcap2            1:2.66-3
ii  libcryptsetup12    2:2.6.0-2
ii  libfdisk1          2.38.1-4
ii  libgcrypt20        1.10.1-3
ii  libkmod2           30+20221128-1
ii  liblz4-1           1.9.4-1
ii  liblzma5           5.4.1-0.1
ii  libmount1          2.38.1-4
ii  libp11-kit0        0.24.1-2
ii  libseccomp2        2.5.4-1+b3
ii  libselinux1        3.4-1+b5
ii  libssl3            3.0.7-2
ii  libsystemd-shared  252.5-2
ii  libsystemd0        252.5-2
ii  libzstd1           1.5.2+dfsg2-3
ii  mount              2.38.1-4

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]   1.14.4-1
ii  systemd-timesyncd [time-daemon]  252.5-2

Versions of packages systemd suggests:
ii  libfido2-1            1.12.0-2
ii  libqrencode4          4.1.1-1
ii  libtss2-esys-3.0.2-0  3.2.1-2
ii  libtss2-mu0           3.2.1-2
ii  libtss2-rc0           3.2.1-2
ii  policykit-1           122-3
ii  polkitd               122-3
pn  systemd-boot          <none>
pn  systemd-container     <none>
pn  systemd-homed         <none>
ii  systemd-resolved      252.5-2
pn  systemd-userdbd       <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.4-1
pn  dracut             <none>
ii  initramfs-tools    0.142
pn  libnss-systemd     <none>
ii  libpam-systemd     252.5-2
ii  udev               252.5-2

-- no debconf information

Reply via email to