Comment 1 for bug 1773033

Revision history for this message
Balint Reczey (rbalint) wrote : Re: unattended upgrade no longer actions on shutdown

In my tests i found u-u operating properly on shutdown except when the system was started on battery, and in that case the u-u.service did not start - thus did not stop on shutdown:

$ service unattended-upgrades status
● unattended-upgrades.service - Unattended Upgrades Shutdown
   Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Fri 2018-05-25 20:18:34 UTC; 38s ago
           └─ ConditionACPower=true was not met
     Docs: man:unattended-upgrade(8)

The change to not run on battery was introduced in 0.97, right before Artful's release.

Did you start your system on battery?