needrestart configuration clobbers sane exclude list
At home I use the same needrestart Puppet profile as we do here. Recently, I noticed that needrestart was rather aggressively killing my user sessions and, after tracking it down, I isolated the issue to needrestart. It would restart processes that should normally be skipped like gdm3
, dbus
, and even unattended-upgrades
itself, arghl.
I deployed this fix at home to work around the issue: //gitlab.com/anarcat/puppet/-/commit/2c48079c16cd700783f2d0394a8b3ad249c6a250
... and reported that as a bug in the puppet module as well:
https://github.com/xneelo/hetzner-needrestart/issues/24
I was about to just deploy this patch everywhere, but figured it might be safer to test it at home a little longer first, and to do a progressive deployment.
Changes live in the needrestart-safe
branch in the tor-puppet.git repository.