[Bug 1723761] [NEW] unattended-upgrade hangs on shutdown when network is required for updates
Juergen Scholz
1723761 at bugs.launchpad.net
Sun Oct 15 17:00:30 UTC 2017
Public bug reported:
Recently an update for flashplugin-installer on xenial was available in
the ubuntu repositories.
During the installation of this package a blob is downloaded from Adobe
servers, which requires network connectivity/internet access.
Because the network interface(s) have already stopped when this package
is installed, the server cannot be reached, thus blocking the shutdown
process until a timeout kills the unattended-upgrades process.
On my machines the shutdown takes about 30 minutes in this case. The
systemd configuration is standard here, except for a few additional
services.
A possible fix could be adding After=network-online.target
NetworkManager-wait-online.service to After= in the systemd unit file.
As a workaround I pinned the flashplugin-installer to -1:
#echo >/etc/apt/preferences.d/forbid_flashplugin "\
Package: flashplugin-installer
Pin: release *
Pin-Priority: -1";
** Affects: unattended-upgrades (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1723761
Title:
unattended-upgrade hangs on shutdown when network is required for
updates
Status in unattended-upgrades package in Ubuntu:
New
Bug description:
Recently an update for flashplugin-installer on xenial was available
in the ubuntu repositories.
During the installation of this package a blob is downloaded from
Adobe servers, which requires network connectivity/internet access.
Because the network interface(s) have already stopped when this
package is installed, the server cannot be reached, thus blocking the
shutdown process until a timeout kills the unattended-upgrades
process.
On my machines the shutdown takes about 30 minutes in this case. The
systemd configuration is standard here, except for a few additional
services.
A possible fix could be adding After=network-online.target
NetworkManager-wait-online.service to After= in the systemd unit file.
As a workaround I pinned the flashplugin-installer to -1:
#echo >/etc/apt/preferences.d/forbid_flashplugin "\
Package: flashplugin-installer
Pin: release *
Pin-Priority: -1";
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1723761/+subscriptions
More information about the foundations-bugs
mailing list