grr. So we actually need to add an After=network.target there for
shutdown. For start up, we actually also need to do the whole network-
online dance, meaning
<= 1.4.y:
After=network-online.target Wants=network-online.target
>= 1.5.y:
After=network.target network-online.target systemd-networkd.service
NetworkManager.service connman.service
ExecStartPre=-/usr/lib/apt/apt-helper wait-online
(basically, just copy that stuff from apt-daily.service)
Installer packages are fun!
** Changed in: unattended-upgrades (Ubuntu)
Importance: Undecided => High
** Changed in: apt (Ubuntu)
Importance: Undecided => High
** Changed in: apt (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1723761
Title:
unattended-upgrade hangs on shutdown when network is required for
updates
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1723761/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs