Package: needrestart Severity: wishlist Version: 3.3-2 Hi,
Unattended-upgrades has a mode where it installs upgrades during shutdown where discovering the services in need of a restart is not particularly useful but the discovery itself slows down the shutdown. Please consider detecting if the system goes down already per systemd and also please check for logind's PreparingForShutdown state [2]. Thanks, Balint [1] https://github.com/mvo5/unattended-upgrades/blob/master/debian/NEWS [2] https://www.freedesktop.org/wiki/Software/systemd/inhibit/ -- Balint Reczey Ubuntu & Debian Developer