Verify YAML configuration after package upgrades

Bug #1970773 reported by Lukas Märdian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netplan.io (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

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.

Tags: fr-2317
Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu):
importance: Undecided → Wishlist
tags: added: fr-2317
Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.