Comment 9 for bug 1926183

Revision history for this message
Chad Smith (chad.smith) wrote :

Logs from Xenial test run asserting that no reboot needed message reported:
csmith@uptown:~/src/ubuntu-advantage-client$ cat proposed.yaml
#cloud-config
write_files:
- content: ZGViIGh0dHA6Ly9hcmNoaXZlLnVidW50dS5jb20vdWJ1bnR1LyB4ZW5pYWwtcHJvcG9zZWQgcmVzdHJpY3RlZCBtYWluIG11bHRpdmVyc2UgdW5pdmVyc2UK
  encoding: b64
  owner: root:root
  path: /etc/apt/sources.list.d/proposed-ua.list
  permissions: '0644'

package_update: true
packages: [ubuntu-advantage-tools]
csmith@uptown:~/src/ubuntu-advantage-client$ lxc launch ubuntu-daily:xenial sru-test-1926183 -c user.user-data="$(cat proposed.yaml)"
Creating sru-test-1926183
Starting sru-test-1926183
csmith@uptown:~/src/ubuntu-advantage-client$ lxc exec sru-test-1926183 bash
root@sru-test-1926183:~# touch /var/run/reboot-required
root@sru-test-1926183:~# cloud-init status --wait --long

status: done
time: Thu, 29 Apr 2021 23:07:07 +0000
detail:
DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]
root@sru-test-1926183:~# ua version
27.0~16.04.1
root@sru-test-1926183:~# apt policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 27.0~16.04.1
  Candidate: 27.0~16.04.1
  Version table:
 *** 27.0~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     10ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
root@sru-test-1926183:~# ua fix USN-4898-1
USN-4898-1: curl vulnerabilities
Found CVEs:
https://ubuntu.com/security/CVE-2021-22890
https://ubuntu.com/security/CVE-2021-22876
1 affected package is installed: curl
(1/1) curl:
A fix is available in Ubuntu standard updates.
The update is already installed.
✔ USN-4898-1 is resolved.