Validated mantic using sru.sh. Launching current mantic cloudimg, validating Unprivileged console messages and systemd-analyze critical chain ordering dependency for systemd-user-sessions.service is correctly reverted to ordering After=cloud-config.service in the -proposed version of cloud-init 23.3.3. $ bash sru.sh mantic Creating a disk backed by the image... Formatting 'boot-disk-pretty-pika.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3758096384 backing_file=mantic-server-cloudimg-amd64.img backing_fmt=q6 Launching current cloud-init to confirm expected time to SSH delay --- expect to see some messages Unprivileged users are not permitted to log in yet --- qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 2222 Awaiting SSH access... Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. status: running boot_status_code: enabled-by-generator last_update: Fri, 17 Nov 2023 21:29:49 +0000 detail: Running in stage: modules-final ---- cloud-init status --wait ----- ........ status: done --- assert systemd-user-sessions.service is blocked by later cloud-config.service and snapd-seeded └─cloud-config.service @15.882s +14.437s └─snapd.seeded.service @11.186s +4.684s └─snapd.service @9.985s +1.188s └─snap.lxd.daemon.unix.socket @13.382s └─cloud-init.service @8.347s +1.435s └─cloud-init-local.service @3.976s +2.250s Before=cloud-final.service cloud-init.target shutdown.target systemd-user-sessions.service ubuntu-advantage.service SUCCESS: cloud-config.service is ordered Before=systemd-user-sessions Creating a disk backed by the image with cloud-init upgraded to -proposed... Formatting 'boot-disk-proposed-pretty-pika.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3758096384 backing_file=mantic-server-cloudimg-amd64.img back6 Upgrading cloud-init from mantic-proposed deb http://archive.ubuntu.com/ubuntu mantic-proposed main Get:1 http://archive.ubuntu.com/ubuntu mantic InRelease [256 kB] Get:2 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB] Get:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB] Get:4 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90.7 kB] Get:5 http://archive.ubuntu.com/ubuntu mantic-proposed InRelease [256 kB] Get:6 http://archive.ubuntu.com/ubuntu mantic/main amd64 DEP-11 Metadata [465 kB] Get:7 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages [15.2 MB] Get:8 http://archive.ubuntu.com/ubuntu mantic/universe Translation-en [5,951 kB] Get:9 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata [3,793 kB] Get:10 http://archive.ubuntu.com/ubuntu mantic/universe amd64 c-n-f Metadata [303 kB] Get:11 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages [239 kB] Get:12 http://archive.ubuntu.com/ubuntu mantic/multiverse Translation-en [113 kB] Get:13 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 DEP-11 Metadata [31.6 kB] Get:14 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 c-n-f Metadata [8,356 B] Get:15 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [86.3 kB] Get:16 http://archive.ubuntu.com/ubuntu mantic-updates/main Translation-en [27.6 kB] Get:17 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 DEP-11 Metadata [7,240 B] Get:18 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 c-n-f Metadata [1,676 B] Get:19 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [116 kB] Get:20 http://archive.ubuntu.com/ubuntu mantic-updates/restricted Translation-en [18.1 kB] Get:21 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 c-n-f Metadata [420 B] Get:22 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [28.4 kB] Get:23 http://archive.ubuntu.com/ubuntu mantic-updates/universe Translation-en [12.0 kB] Get:24 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 DEP-11 Metadata [3,864 B] Get:25 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 c-n-f Metadata [820 B] Get:26 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [4,284 B] Get:27 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse Translation-en [932 B] Get:28 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 c-n-f Metadata [232 B] Get:29 http://archive.ubuntu.com/ubuntu mantic-backports/main amd64 c-n-f Metadata [112 B] Get:30 http://archive.ubuntu.com/ubuntu mantic-backports/restricted amd64 c-n-f Metadata [116 B] Get:31 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 c-n-f Metadata [116 B] Get:32 http://archive.ubuntu.com/ubuntu mantic-backports/multiverse amd64 c-n-f Metadata [116 B] Get:33 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 Packages [47.5 kB] Get:34 http://archive.ubuntu.com/ubuntu mantic-proposed/main Translation-en [14.9 kB] Get:35 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 DEP-11 Metadata [7,592 B] Get:36 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 c-n-f Metadata [1,028 B] Get:37 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [78.2 kB] Get:38 http://security.ubuntu.com/ubuntu mantic-security/main Translation-en [24.7 kB] Get:39 http://security.ubuntu.com/ubuntu mantic-security/main amd64 DEP-11 Metadata [7,232 B] Get:40 http://security.ubuntu.com/ubuntu mantic-security/main amd64 c-n-f Metadata [1,560 B] Get:41 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [116 kB] Get:42 http://security.ubuntu.com/ubuntu mantic-security/restricted Translation-en [18.1 kB] Get:43 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 c-n-f Metadata [420 B] Get:44 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [24.3 kB] Get:45 http://security.ubuntu.com/ubuntu mantic-security/universe Translation-en [10.3 kB] Get:46 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 DEP-11 Metadata [3,860 B] Get:47 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 c-n-f Metadata [788 B] Get:48 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 Packages [4,284 B] Get:49 http://security.ubuntu.com/ubuntu mantic-security/multiverse Translation-en [932 B] Get:50 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 c-n-f Metadata [232 B] Fetched 27.6 MB in 7s (3,887 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: cloud-init 1 upgraded, 0 newly installed, 0 to remove and 48 not upgraded. Need to get 578 kB of archives. After this operation, 1,024 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 cloud-init all 23.3.3-0ubuntu0~23.10.1 [578 kB] Fetched 578 kB in 0s (1,556 kB/s) Preconfiguring packages ... E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) (Reading database ... 65529 files and directories currently installed.) Preparing to unpack .../cloud-init_23.3.3-0ubuntu0~23.10.1_all.deb ... Unpacking cloud-init (23.3.3-0ubuntu0~23.10.1) over (23.3.1-0ubuntu2) ... Setting up cloud-init (23.3.3-0ubuntu0~23.10.1) ... Processing triggers for man-db (2.11.2-3) ... Processing triggers for rsyslog (8.2306.0-2ubuntu2) ... invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found. ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. Your mileage may vary. Running in chroot, ignoring request. Scanning processes... Scanning linux images... Failed to retrieve available kernel versions. Failed to check for processor microcode upgrades. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. --- expect to see NO messages concerning Unprivileged users are not permitted to log in yet --- qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 2223 Awaiting SSH access... Warning: Permanently added '[localhost]:2223' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2223' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2223' (ED25519) to the list of known hosts. ubuntu@localhost: Permission denied (publickey). Awaiting SSH access... Warning: Permanently added '[localhost]:2223' (ED25519) to the list of known hosts. status: running boot_status_code: enabled-by-generator last_update: Fri, 17 Nov 2023 21:31:02 +0000 detail: Running in stage: modules-final ---- cloud-init status --wait ----- .................................... status: done --- assert cloud-init is 23.3.3 based ---- cloud-init --version ----- /usr/bin/cloud-init 23.3.3-0ubuntu0~23.10.1 --- assert systemd-user-sessions.service is blocked by earlier cloud-init.service and not snapd-seeded └─snap.lxd.user-daemon.unix.socket @13.172s └─cloud-init.service @7.675s +1.841s └─cloud-init-local.service @3.561s +2.284s --- assert cloud-init.service blocks systemd-user-sessions.service ---- systemctl show -p Before cloud-init.service ----- Before=systemd-user-sessions.service sshd.service cloud-config.target shutdown.target sshd-keygen.service network-online.target sysinit.target Before=systemd-user-sessions.service sshd.service cloud-config.target shutdown.target sshd-keygen.service network-online.target sysinit.target SUCCESS: cloud-init.service is ordered Before=systemd-user-sessions