I have confirmed the behavior on my 18.04 laptop. Yes, it was being 
started on battery and the service status matches your post. When 
started on power, the unattended-upgrades install on shutdown, although 
the screen is blank during the action.

I have confirmed that my 16.04 laptop does not behave in the same 
manner, regardless of being started on or off battery. In either case, 
the service is started and the updates are installed on shutdown - with 
screen status updates. The 16.04 machine is running unattended-upgrades 
0.90ubuntu0.9 = which confirms the changes you mentioned.

Thank you for the information!


On 05/25/2018 04:36 PM, Balint Reczey wrote:
> 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?
>
> ** Changed in: unattended-upgrades (Ubuntu)
>         Status: New => Triaged
>
> ** Changed in: unattended-upgrades (Ubuntu)
>     Importance: Undecided => Medium
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773033

Title:
  unattended upgrade no longer actions on shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1773033/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to