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.


** Bug watch added: github.com/snapcore/core-initrd/issues #33
   https://github.com/snapcore/core-initrd/issues/33

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1948476

Title:
  [SRU] Allow target units to fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1948476/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to