This fixes https://github.com/snapcore/core-initrd/issues/33. Tested by building a core20 snap from focal proposed.
Before:
[ 6.611137] systemd[1]: systemd 245.4-4ubuntu3.13 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid) [ 6.628034] systemd[1]: Detected virtualization kvm. [ 6.629644] systemd[1]: Detected architecture x86-64. [ 6.706930] systemd[1]: Set hostname to <ubuntu>. [ 7.212069] systemd[1]: emergency.target: Requested dependency OnFailure=reboot.target ignored (target units cannot fail). [ 7.499630] systemd[1]: Unnecessary job for /dev/vda4 was removed.
With the change:
[ 6.160462] systemd[1]: systemd 245.4-4ubuntu3.14 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid) [ 6.164774] systemd[1]: Detected virtualization kvm. [ 6.165851] systemd[1]: Detected architecture x86-64. [ 6.176059] systemd[1]: Set hostname to <ubuntu>. [ 6.521391] systemd[1]: Unnecessary job for /dev/vda4 was removed.
This fixes https:/ /github. com/snapcore/ core-initrd/ issues/ 33. Tested by building a core20 snap from focal proposed.
Before:
[ 6.611137] systemd[1]: systemd 245.4-4ubuntu3.13 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default- hierarchy= hybrid) reboot. target ignored (target units cannot fail).
[ 6.628034] systemd[1]: Detected virtualization kvm.
[ 6.629644] systemd[1]: Detected architecture x86-64.
[ 6.706930] systemd[1]: Set hostname to <ubuntu>.
[ 7.212069] systemd[1]: emergency.target: Requested dependency OnFailure=
[ 7.499630] systemd[1]: Unnecessary job for /dev/vda4 was removed.
With the change:
[ 6.160462] systemd[1]: systemd 245.4-4ubuntu3.14 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default- hierarchy= hybrid)
[ 6.164774] systemd[1]: Detected virtualization kvm.
[ 6.165851] systemd[1]: Detected architecture x86-64.
[ 6.176059] systemd[1]: Set hostname to <ubuntu>.
[ 6.521391] systemd[1]: Unnecessary job for /dev/vda4 was removed.