I've stumbled upon this issue after upgrading to bookworm. In my case
the timeout was both due to pam_mount and Roland's missing session
environment case. Fixed both by replacing `su` invocation with:
runuser -p -l -u "$NR_USERNAME" -- "$NSEND" -a needrestart -u critical -i
dialog-warning
I have had the same problem as Roland for a long time and today I finally
decided to troubleshoot it.
Quickly came to the conclusion that notify-send was the culprit.
Through trial and error I added this to my 400-notify-send script to get it
working:
export XDG_RUNTIME_DIR=$(sed -z -n
Package: needrestart
Version: 3.6-2
Severity: important
Tags: patch
Dear Maintainer,
some months ago needrestart topped sending notify events on my system
and instead run into a timeout.
Today I debugged this issue and found out, that the command
su -p -s /bin/sh -c "$NSEND -a needrestart -u
3 matches
Mail list logo