Bionic Focal, Groovy and Hirsute test runs: Test procedure: 1. install u-a-tools from -proposed pocket using cloud-init 2. touch external reboot-required flag file to simulate a system which already needs a reboot from an unrelated package install. 3. run ua fix on an issue that will not install any packages 4. confirm ua tooling doesn't report reboot required. 5. Expect SUCCESS if no reboot suggested FAILURE otherwise TLDR: All SUCCESS msgs, no reboot required messaging if ua fix hasn't installing debs. ==== test script ====== #!/bin/bash set -e for release in bionic focal groovy hirsute; do echo "======= START $release ========" name=test-sru-1926183-$release case "${release}" in hirsute) lxc exec $name apt install samba; issue="CVE-2021-20254";; *) issue="CVE-2020-8285";; esac lxc stop $name || true lxc delete $name || true lxc launch ubuntu-daily:$release $name -c user.user-data="$( cat proposed-$release.yaml )" sleep 3; lxc exec $name -- cloud-init status --wait --long lxc exec $name -- ua version echo "====== Check ua tools 27.0 =====" lxc exec $name -- apt policy ubuntu-advantage-tools lxc exec $name -- apt install ${downgrade} lxc exec $name -- touch /var/run/reboot-required echo "====== Check no reboot required message on NOOP ====" MSG=`lxc exec $name -- ua fix $issue` echo $MSG echo $MSG| grep -q reboot && echo "FAILURE: reboot required message found when no pkg changes made" || echo "SUCCESS: no reboot required message" echo "======= END $release ========" done ======= START bionic ======== Creating test-sru-1926183-bionic Starting test-sru-1926183-bionic .............................................................................. status: done time: Fri, 30 Apr 2021 23:26:23 +0000 detail: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 27.0~18.04.1 ====== Check ua tools 27.0 ===== ubuntu-advantage-tools: Installed: 27.0~18.04.1 Candidate: 27.0~18.04.1 Version table: *** 27.0~18.04.1 500 500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 17 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. ====== Check no reboot required message on NOOP ==== CVE-2020-8285: curl vulnerabilities https://ubuntu.com/security/CVE-2020-8285 1 affected package is installed: curl (1/1) curl: A fix is available in Ubuntu standard updates. The update is already installed. ✔ CVE-2020-8285 is resolved. SUCCESS: no reboot required message ======= END bionic ======== ======= START focal ======== Creating test-sru-1926183-focal Starting test-sru-1926183-focal ........................................................................................................................ status: done time: Fri, 30 Apr 2021 23:27:07 +0000 detail: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 27.0~20.04.1 ====== Check ua tools 27.0 ===== ubuntu-advantage-tools: Installed: 27.0~20.04.1 Candidate: 27.0~20.04.1 Version table: *** 27.0~20.04.1 500 500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages 100 /var/lib/dpkg/status 20.3 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded. ====== Check no reboot required message on NOOP ==== CVE-2020-8285: curl vulnerabilities https://ubuntu.com/security/CVE-2020-8285 1 affected package is installed: curl (1/1) curl: A fix is available in Ubuntu standard updates. The update is already installed. ✔ CVE-2020-8285 is resolved. SUCCESS: no reboot required message ======= END focal ======== ======= START groovy ======== Creating test-sru-1926183-groovy Starting test-sru-1926183-groovy ................................................................................................................. status: done time: Fri, 30 Apr 2021 23:27:48 +0000 detail: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 27.0~20.10.1 ====== Check ua tools 27.0 ===== ubuntu-advantage-tools: Installed: 27.0~20.10.1 Candidate: 27.0~20.10.1 Version table: *** 27.0~20.10.1 500 500 http://archive.ubuntu.com/ubuntu groovy-proposed/main amd64 Packages 100 /var/lib/dpkg/status 24.4 500 500 http://archive.ubuntu.com/ubuntu groovy/main amd64 Packages Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded. ====== Check no reboot required message on NOOP ==== CVE-2020-8285: curl vulnerabilities https://ubuntu.com/security/CVE-2020-8285 1 affected package is installed: curl (1/1) curl: A fix is available in Ubuntu standard updates. The update is already installed. ✔ CVE-2020-8285 is resolved. SUCCESS: no reboot required message ======= END groovy ======== ======= START hirsute ======== Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. The following additional packages will be installed: attr ibverbs-providers libavahi-client3 libavahi-common-data libavahi-common3 libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libcups2 libibverbs1 libjansson4 libldb2 libnl-route-3-200 librados2 librdmacm1 libtalloc2 libtevent0 liburing1 libwbclient0 python3-dnspython python3-ecdsa python3-gpg python3-ldb python3-markdown python3-pycryptodome python3-pygments python3-samba python3-talloc python3-tdb samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools Suggested packages: cups-common python-markdown-doc python-pygments-doc ttf-bitstream-vera bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients The following NEW packages will be installed: attr ibverbs-providers libavahi-client3 libavahi-common-data libavahi-common3 libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libcups2 libibverbs1 libjansson4 libldb2 libnl-route-3-200 librados2 librdmacm1 libtalloc2 libtevent0 liburing1 libwbclient0 python3-dnspython python3-ecdsa python3-gpg python3-ldb python3-markdown python3-pycryptodome python3-pygments python3-samba python3-talloc python3-tdb samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools 0 upgraded, 36 newly installed, 0 to remove and 16 not upgraded. Need to get 27.3 MB of archives. After this operation, 137 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libtalloc2 amd64 2.3.1-2ubuntu1 [24.4 kB] Get:2 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libtevent0 amd64 0.10.2-1 [35.5 kB] Get:3 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 libwbclient0 amd64 2:4.13.3+dfsg-1ubuntu2.1 [209 kB] Get:4 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-dnspython all 2.0.0+really1.16.0-2ubuntu2 [96.9 kB] Get:5 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libldb2 amd64 2:2.2.0-3ubuntu2 [141 kB] Get:6 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-ldb amd64 2:2.2.0-3ubuntu2 [38.0 kB] Get:7 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-tdb amd64 1.4.3-1build1 [13.8 kB] Get:8 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libavahi-common-data amd64 0.8-5ubuntu3 [24.0 kB] Get:9 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libavahi-common3 amd64 0.8-5ubuntu3 [21.9 kB] Get:10 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libavahi-client3 amd64 0.8-5ubuntu3 [25.7 kB] Get:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libcups2 amd64 2.3.3op2-3ubuntu3 [234 kB] Get:12 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libjansson4 amd64 2.13.1-1.1build1 [30.2 kB] Get:13 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-talloc amd64 2.3.1-2ubuntu1 [12.2 kB] Get:14 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba-libs amd64 2:4.13.3+dfsg-1ubuntu2.1 [5597 kB] Get:15 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 python3-samba amd64 2:4.13.3+dfsg-1ubuntu2.1 [2623 kB] Get:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba-common all 2:4.13.3+dfsg-1ubuntu2.1 [64.6 kB] Get:17 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba-common-bin amd64 2:4.13.3+dfsg-1ubuntu2.1 [559 kB] Get:18 http://archive.ubuntu.com/ubuntu hirsute/main amd64 tdb-tools amd64 1.4.3-1build1 [24.9 kB] Get:19 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba amd64 2:4.13.3+dfsg-1ubuntu2.1 [1046 kB] Get:20 http://archive.ubuntu.com/ubuntu hirsute/main amd64 attr amd64 1:2.4.48-6build1 [22.0 kB] Get:21 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libnl-route-3-200 amd64 3.4.0-1build2 [151 kB] Get:22 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libibverbs1 amd64 33.1-1ubuntu1 [57.5 kB] Get:23 http://archive.ubuntu.com/ubuntu hirsute/main amd64 ibverbs-providers amd64 33.1-1ubuntu1 [250 kB] Get:24 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libboost-iostreams1.74.0 amd64 1.74.0-8ubuntu2 [238 kB] Get:25 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libboost-thread1.74.0 amd64 1.74.0-8ubuntu2 [253 kB] Get:26 http://archive.ubuntu.com/ubuntu hirsute/main amd64 librdmacm1 amd64 33.1-1ubuntu1 [65.9 kB] Get:27 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 librados2 amd64 16.2.1-0ubuntu0.21.04.1 [3189 kB] Get:28 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 libcephfs2 amd64 16.2.1-0ubuntu0.21.04.1 [676 kB] Get:29 http://archive.ubuntu.com/ubuntu hirsute/main amd64 liburing1 amd64 0.7-3ubuntu1 [9028 B] Get:30 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-ecdsa all 0.16.1-1 [82.9 kB] Get:31 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-gpg amd64 1.14.0-1ubuntu3 [173 kB] Get:32 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-markdown all 3.3.4-1 [67.2 kB] Get:33 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-pycryptodome amd64 3.9.7+dfsg1-1build3 [9939 kB] Get:34 http://archive.ubuntu.com/ubuntu hirsute/main amd64 python3-pygments all 2.7.1+dfsg-2ubuntu1 [639 kB] Get:35 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba-dsdb-modules amd64 2:4.13.3+dfsg-1ubuntu2.1 [282 kB] Get:36 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 samba-vfs-modules amd64 2:4.13.3+dfsg-1ubuntu2.1 [376 kB] Fetched 27.3 MB in 4s (6759 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libtalloc2:amd64. (Reading database ... 32901 files and directories currently installed.) Preparing to unpack .../00-libtalloc2_2.3.1-2ubuntu1_amd64.deb ... Unpacking libtalloc2:amd64 (2.3.1-2ubuntu1) ... Selecting previously unselected package libtevent0:amd64. Preparing to unpack .../01-libtevent0_0.10.2-1_amd64.deb ... Unpacking libtevent0:amd64 (0.10.2-1) ... Selecting previously unselected package libwbclient0:amd64. Preparing to unpack .../02-libwbclient0_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.deb ... Unpacking libwbclient0:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package python3-dnspython. Preparing to unpack .../03-python3-dnspython_2.0.0+really1.16.0-2ubuntu2_all.deb ... Unpacking python3-dnspython (2.0.0+really1.16.0-2ubuntu2) ... Selecting previously unselected package libldb2:amd64. Preparing to unpack .../04-libldb2_2%3a2.2.0-3ubuntu2_amd64.deb ... Unpacking libldb2:amd64 (2:2.2.0-3ubuntu2) ... Selecting previously unselected package python3-ldb. Preparing to unpack .../05-python3-ldb_2%3a2.2.0-3ubuntu2_amd64.deb ... Unpacking python3-ldb (2:2.2.0-3ubuntu2) ... Selecting previously unselected package python3-tdb. Preparing to unpack .../06-python3-tdb_1.4.3-1build1_amd64.deb ... Unpacking python3-tdb (1.4.3-1build1) ... Selecting previously unselected package libavahi-common-data:amd64. Preparing to unpack .../07-libavahi-common-data_0.8-5ubuntu3_amd64.deb ... Unpacking libavahi-common-data:amd64 (0.8-5ubuntu3) ... Selecting previously unselected package libavahi-common3:amd64. Preparing to unpack .../08-libavahi-common3_0.8-5ubuntu3_amd64.deb ... Unpacking libavahi-common3:amd64 (0.8-5ubuntu3) ... Selecting previously unselected package libavahi-client3:amd64. Preparing to unpack .../09-libavahi-client3_0.8-5ubuntu3_amd64.deb ... Unpacking libavahi-client3:amd64 (0.8-5ubuntu3) ... Selecting previously unselected package libcups2:amd64. Preparing to unpack .../10-libcups2_2.3.3op2-3ubuntu3_amd64.deb ... Unpacking libcups2:amd64 (2.3.3op2-3ubuntu3) ... Selecting previously unselected package libjansson4:amd64. Preparing to unpack .../11-libjansson4_2.13.1-1.1build1_amd64.deb ... Unpacking libjansson4:amd64 (2.13.1-1.1build1) ... Selecting previously unselected package python3-talloc:amd64. Preparing to unpack .../12-python3-talloc_2.3.1-2ubuntu1_amd64.deb ... Unpacking python3-talloc:amd64 (2.3.1-2ubuntu1) ... Selecting previously unselected package samba-libs:amd64. Preparing to unpack .../13-samba-libs_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.deb ... Unpacking samba-libs:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package python3-samba. Preparing to unpack .../14-python3-samba_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.deb .. . Unpacking python3-samba (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package samba-common. Preparing to unpack .../15-samba-common_2%3a4.13.3+dfsg-1ubuntu2.1_all.deb ... Unpacking samba-common (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package samba-common-bin. Preparing to unpack .../16-samba-common-bin_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.deb ... Unpacking samba-common-bin (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package tdb-tools. Preparing to unpack .../17-tdb-tools_1.4.3-1build1_amd64.deb ... Unpacking tdb-tools (1.4.3-1build1) ... Selecting previously unselected package samba. Preparing to unpack .../18-samba_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.deb ... Unpacking samba (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package attr. Preparing to unpack .../19-attr_1%3a2.4.48-6build1_amd64.deb ... Unpacking attr (1:2.4.48-6build1) ... Selecting previously unselected package libnl-route-3-200:amd64. Preparing to unpack .../20-libnl-route-3-200_3.4.0-1build2_amd64.deb ... Unpacking libnl-route-3-200:amd64 (3.4.0-1build2) ... Selecting previously unselected package libibverbs1:amd64. Preparing to unpack .../21-libibverbs1_33.1-1ubuntu1_amd64.deb ... Unpacking libibverbs1:amd64 (33.1-1ubuntu1) ... Selecting previously unselected package ibverbs-providers:amd64. Preparing to unpack .../22-ibverbs-providers_33.1-1ubuntu1_amd64.deb ... Unpacking ibverbs-providers:amd64 (33.1-1ubuntu1) ... Selecting previously unselected package libboost-iostreams1.74.0:amd64. Preparing to unpack .../23-libboost-iostreams1.74.0_1.74.0-8ubuntu2_amd64.deb .. . Unpacking libboost-iostreams1.74.0:amd64 (1.74.0-8ubuntu2) ... Selecting previously unselected package libboost-thread1.74.0:amd64. Preparing to unpack .../24-libboost-thread1.74.0_1.74.0-8ubuntu2_amd64.deb ... Unpacking libboost-thread1.74.0:amd64 (1.74.0-8ubuntu2) ... Selecting previously unselected package librdmacm1:amd64. Preparing to unpack .../25-librdmacm1_33.1-1ubuntu1_amd64.deb ... Unpacking librdmacm1:amd64 (33.1-1ubuntu1) ... Selecting previously unselected package librados2. Preparing to unpack .../26-librados2_16.2.1-0ubuntu0.21.04.1_amd64.deb ... Unpacking librados2 (16.2.1-0ubuntu0.21.04.1) ... Selecting previously unselected package libcephfs2. Preparing to unpack .../27-libcephfs2_16.2.1-0ubuntu0.21.04.1_amd64.deb ... Unpacking libcephfs2 (16.2.1-0ubuntu0.21.04.1) ... Selecting previously unselected package liburing1:amd64. Preparing to unpack .../28-liburing1_0.7-3ubuntu1_amd64.deb ... Unpacking liburing1:amd64 (0.7-3ubuntu1) ... Selecting previously unselected package python3-ecdsa. Preparing to unpack .../29-python3-ecdsa_0.16.1-1_all.deb ... Unpacking python3-ecdsa (0.16.1-1) ... Selecting previously unselected package python3-gpg. Preparing to unpack .../30-python3-gpg_1.14.0-1ubuntu3_amd64.deb ... Unpacking python3-gpg (1.14.0-1ubuntu3) ... Selecting previously unselected package python3-markdown. Preparing to unpack .../31-python3-markdown_3.3.4-1_all.deb ... Unpacking python3-markdown (3.3.4-1) ... Selecting previously unselected package python3-pycryptodome. Preparing to unpack .../32-python3-pycryptodome_3.9.7+dfsg1-1build3_amd64.deb .. . Unpacking python3-pycryptodome (3.9.7+dfsg1-1build3) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../33-python3-pygments_2.7.1+dfsg-2ubuntu1_all.deb ... Unpacking python3-pygments (2.7.1+dfsg-2ubuntu1) ... Selecting previously unselected package samba-dsdb-modules:amd64. Preparing to unpack .../34-samba-dsdb-modules_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.d eb ... Unpacking samba-dsdb-modules:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Selecting previously unselected package samba-vfs-modules:amd64. Preparing to unpack .../35-samba-vfs-modules_2%3a4.13.3+dfsg-1ubuntu2.1_amd64.de b ... Unpacking samba-vfs-modules:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up attr (1:2.4.48-6build1) ... Setting up libboost-iostreams1.74.0:amd64 (1.74.0-8ubuntu2) ... Setting up python3-pycryptodome (3.9.7+dfsg1-1build3) ... Setting up samba-common (2:4.13.3+dfsg-1ubuntu2.1) ... Creating config file /etc/samba/smb.conf with new version Setting up libjansson4:amd64 (2.13.1-1.1build1) ... Setting up libnl-route-3-200:amd64 (3.4.0-1build2) ... Setting up libtalloc2:amd64 (2.3.1-2ubuntu1) ... Setting up python3-ecdsa (0.16.1-1) ... Setting up python3-tdb (1.4.3-1build1) ... Setting up python3-pygments (2.7.1+dfsg-2ubuntu1) ... Setting up libtevent0:amd64 (0.10.2-1) ... Setting up python3-gpg (1.14.0-1ubuntu3) ... Setting up libavahi-common-data:amd64 (0.8-5ubuntu3) ... Setting up tdb-tools (1.4.3-1build1) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbba ckup (tdbbackup) in auto mode Setting up python3-markdown (3.3.4-1) ... Setting up liburing1:amd64 (0.7-3ubuntu1) ... Setting up python3-dnspython (2.0.0+really1.16.0-2ubuntu2) ... Setting up libldb2:amd64 (2:2.2.0-3ubuntu2) ... Setting up libboost-thread1.74.0:amd64 (1.74.0-8ubuntu2) ... Setting up libibverbs1:amd64 (33.1-1ubuntu1) ... Setting up ibverbs-providers:amd64 (33.1-1ubuntu1) ... Setting up python3-talloc:amd64 (2.3.1-2ubuntu1) ... Setting up libavahi-common3:amd64 (0.8-5ubuntu3) ... Setting up libwbclient0:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up python3-ldb (2:2.2.0-3ubuntu2) ... Setting up libavahi-client3:amd64 (0.8-5ubuntu3) ... Setting up librdmacm1:amd64 (33.1-1ubuntu1) ... Setting up librados2 (16.2.1-0ubuntu0.21.04.1) ... Setting up libcephfs2 (16.2.1-0ubuntu0.21.04.1) ... Setting up libcups2:amd64 (2.3.3op2-3ubuntu3) ... Setting up samba-libs:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up samba-dsdb-modules:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up python3-samba (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up samba-vfs-modules:amd64 (2:4.13.3+dfsg-1ubuntu2.1) ... Setting up samba-common-bin (2:4.13.3+dfsg-1ubuntu2.1) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Weak crypto is allowed WARNING: The 'netbios name' is too long (max. 15 chars). Server role: ROLE_STANDALONE Done Setting up samba (2:4.13.3+dfsg-1ubuntu2.1) ... Adding group `sambashare' (GID 120) ... Done. Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service Please ignore the following error about deb-systemd-helper not finding those ser vices. (samba-ad-dc.service masked) Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/ systemd/system/nmbd.service. Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is mask ed. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.servi ce: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/ systemd/system/smbd.service. samba-ad-dc.service is a disabled or a static unit, not starting it. Processing triggers for ufw (0.36-7.1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.33-0ubuntu5) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. Creating test-sru-1926183-hirsute Starting test-sru-1926183-hirsute ............................................................................................... status: done time: Fri, 30 Apr 2021 23:32:52 +0000 detail: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 27.0~21.04.1 ====== Check ua tools 27.0 ===== ubuntu-advantage-tools: Installed: 27.0~21.04.1 Candidate: 27.0~21.04.1 Version table: *** 27.0~21.04.1 500 500 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 Packages 100 /var/lib/dpkg/status 26.2 500 500 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded. ====== Check no reboot required message on NOOP ==== CVE-2021-20254: Samba vulnerability https://ubuntu.com/security/CVE-2021-20254 No affected packages are installed. ✔ CVE-2021-20254 does not affect your system. SUCCESS: no reboot required message ======= END hirsute ========