Daniel Shahaf wrote on Sun, 05 Jul 2026 20:12 +00:00: > This does not seem to have been reported yet: while #826044[1] and > #1002732[2] also concern hangs, my ps(1) output is different to theirs. > > The issue went away once I edited /etc/needrestart/notify.d/400-notify-send > to export DBUS_SESSION_BUS_ADDRESS, as in the attached patch. With that > patch, installs complete without delays and the notify-send(1) notification > does show up at the corner of the screen.
On a closer look, this _was_ reported before as bug #1024426 "needrestart: notify-send timeout instead of notify". However, that bug was fixed by s/su/runuser/ (via Michał's patch on #1024426), whereas this bug occurs with a version of 400-notify-send that uses runuser(8). So, please do consider the patch I posted here, and/or the similar patch Roland had posted to #1024426 before me. To be clear, I think there are two similar, but separate issues here: one which was fixed by s/su/runuser/, as in Michał's patch, and one that's fixable by exporting DBUS_SESSION_BUS_ADDRESS, as in Roland's and my patches. Thanks, Daniel

