Bug#1024426: needrestart: notify-send timeout - WA

2023-05-03 Thread Michał Mirosław
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

Bug#1024426:

2022-11-30 Thread Andreas Sundstrom
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

Bug#1024426: needrestart: notify-send timeout instead of notify

2022-11-19 Thread Roland Rosenfeld
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