On 07/06/2024 08.17, Peter De Wachter wrote:
systemd 256-rc3 was recently uploaded to Debian. Its NEWS file mentions:
* The behavior of systemd-sleep and systemd-homed has been updated to
freeze user sessions when entering the various sleep modes or when
locking a homed-managed home area. This is known to cause issues with
the proprietary NVIDIA drivers. Packagers of the NVIDIA proprietary
drivers may want to add drop-in configuration files that set
SYSTEMD_SLEEP_FREEZE_USER_SESSION=false for systemd-suspend.service
and related services, and SYSTEMD_HOME_LOCK_FREEZE_SESSION=false for
systemd-homed.service.
Thanks for catching that. I'll try to include a fix with the upcoming
uploads of the recent CVE series.
As I'm not that familiar with configuring systemd bits, do you know what
would be the correct locations and contents to ship the fix?
If I read the documentation correctly, that should be
/usr/lib/systemd/system/systemd-suspend.service.d/nvidia.conf
===== 8< =====
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSION=false"
===== >8 =====
and
/usr/lib/systemd/system/systemd-homed.service.d/nvidia.conf
===== 8< =====
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
===== >8 =====
Could you verify that this works (after unapplying your temporary solution)?
Thanks
Andreas