Public bug reported:

maybe netplan systemd generator should spit out stderr to /run
somewhere, and then later have a unit that would cat that file and exit
1, to have a failed unit on boot with errors in the journal, something
like netplan-boot-generator-failed.service

Or another approach would be to have a .postinst maintainer script that
would copy the current netplan YAML configuration from
/{usr/lib,etc,run}/netplan/*.yaml to /tmp/SOME/ROOTDIR/ and then try to
apply "/usr/lib/netplan/generate -r /tmp/SOME/ROOTDIR" to check for any
parsing issues.

** Affects: netplan.io (Ubuntu)
     Importance: Wishlist
         Status: New


** Tags: fr-2317

** Changed in: netplan.io (Ubuntu)
   Importance: Undecided => Wishlist

** Tags added: fr-2317

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

Title:
  Verify YAML configuration after package upgrades

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1970773/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to