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.
Logs from Xenial test run asserting that no reboot needed message reported: uptown: ~/src/ubuntu- advantage- client$ cat proposed.yaml hcmNoaXZlLnVidW 50dS5jb20vdWJ1b nR1LyB4ZW5pYWwt cHJvcG9zZWQgcmV zdHJpY3RlZCBtYW luIG11bHRpdmVyc 2UgdW5pdmVyc2UK sources. list.d/ proposed- ua.list
csmith@
#cloud-config
write_files:
- content: ZGViIGh0dHA6Ly9
encoding: b64
owner: root:root
path: /etc/apt/
permissions: '0644'
package_update: true advantage- tools] uptown: ~/src/ubuntu- advantage- client$ lxc launch ubuntu-daily:xenial sru-test-1926183 -c user.user- data="$ (cat proposed.yaml)" uptown: ~/src/ubuntu- advantage- client$ lxc exec sru-test-1926183 bash test-1926183: ~# touch /var/run/ reboot- required test-1926183: ~# cloud-init status --wait --long
packages: [ubuntu-
csmith@
Creating sru-test-1926183
Starting sru-test-1926183
csmith@
root@sru-
root@sru-
status: done var/lib/ cloud/seed/ nocloud- net][dsmode= net] test-1926183: ~# ua version test-1926183: ~# apt policy ubuntu- advantage- tools advantage- tools: archive. ubuntu. com/ubuntu xenial- proposed/ main amd64 Packages dpkg/status 16.04.1 500 archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages test-1926183: ~# ua fix USN-4898-1 /ubuntu. com/security/ CVE-2021- 22890 /ubuntu. com/security/ CVE-2021- 22876
time: Thu, 29 Apr 2021 23:07:07 +0000
detail:
DataSourceNoCloud [seed=/
root@sru-
27.0~16.04.1
root@sru-
ubuntu-
Installed: 27.0~16.04.1
Candidate: 27.0~16.04.1
Version table:
*** 27.0~16.04.1 500
500 http://
100 /var/lib/
10ubuntu0.
500 http://
root@sru-
USN-4898-1: curl vulnerabilities
Found CVEs:
https:/
https:/
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.