I moved to handling TERM in u-u: https://github.com/rbalint/unattended-upgrades/commits/master
I also attached the patch for APT which changes the KillMode and timeout. Since this affects only apt-daily-upgrade.service and it runs "apt.systemd.daily install" which perform minimal tasks when u-u is not installed this should be safe change. I've uploaded apt and u-u for testing to ppa:rbalint/scratch, please give them a try. ** Patch added: "APT change only KillMode and timeout" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1690980/+attachment/4921242/+files/0001-Kill-only-the-main-process-of-apt-daily-upgrade.serv.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1690980 Title: unattended-upgrades does not block shutdown of system, as it is designed to To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs