Still no apparent issue on my side.

# dpkg
ii  cloud-init                            18.3-9-g2e62cb8a-0ubuntu1~18.04.2 all 
         Init scripts for cloud instances
ii  linux-cloud-tools-common              4.15.0-36.39                      all 
         Linux kernel version specific cloud tools for version 4.15.0

Upgrade:
# apt-get install linux-cloud-tools-common -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-cloud-tools-common
1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
Need to get 47.0 kB of archives.
After this operation, 7,168 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
linux-cloud-tools-common all 4.15.0-36.39 [47.0 kB]
Fetched 47.0 kB in 0s (299 kB/s)                   
(Reading database ... 67213 files and directories currently installed.)
Preparing to unpack .../linux-cloud-tools-common_4.15.0-36.39_all.deb ...
Unpacking linux-cloud-tools-common (4.15.0-36.39) over (4.15.0-34.37) ...
Setting up linux-cloud-tools-common (4.15.0-36.39) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for man-db (2.8.3-2) ...

# term.log
Log started: 2018-10-12  09:56:38
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 
10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database 
... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading 
database ... 40%^M(Reading database ... 45%^M(Reading database ... 
50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database 
... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading 
database ... 80%^M(Reading database ... 85%^M(Reading database ... 
90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database 
... 67213 files and directories currently installed.)^M
Preparing to unpack .../linux-cloud-tools-common_4.15.0-36.39_all.deb ...^M
Unpacking linux-cloud-tools-common (4.15.0-36.39) over (4.15.0-34.37) ...^M
Setting up linux-cloud-tools-common (4.15.0-36.39) ...^M
Processing triggers for ureadahead (0.100.0-20) ...^M
Processing triggers for man-db (2.8.3-2) ...^M
Log ended: 2018-10-12  09:56:41

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1796376

Title:
  Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable
  with unattended-upgrades on shutdown mode

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since the following linux-cloud-tools-common package versions :

  Xenial : 4.4.0-135.161
  Bionic : 4.15.0-34.37

  the Systemd service unit file for hv-kvp-daemon has been modified with new 
dependencies that make the package unable to be upgraded with 
unattended-upgrades on shutdown mode.
  Unattended-upgrades hangs with the linux-cloud-tools-common package during 
"Preparing to unpack". The server restarts after the unattended-upgrades 
service timeout expires.

  - Package state after reboot :

  iFR linux-cloud-tools-common              4.15.0-34.37
  all          Linux kernel version specific cloud tools for version
  4.15.0

  - Unattended-upgrades dpkg logs :

  Log started: 2018-10-05  17:59:04
  (Reading database ... 52043 files and directories currently installed.)
  Preparing to unpack .../linux-cloud-tools-common_4.15.0-36.39_all.deb ...
  Log ended: 2018-10-05  18:00:54

  - Impact :

  The current impact is very important as all security updates are
  blocked until you manually fix each server with :

  dpkg --configure -a
  apt install --only-upgrade linux-cloud-tools-common

  - Workaround/Fix :

  As a simple straightforward fix, replacing :

  Before=shutdown.target cloud-init-local.service walinuxagent.service

  with :

  Before=shutdown.target walinuxagent.service

  makes the package upgradable during shutdown.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1796376/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to