[Bug 1764869] Re: YAML configs wiped out from /run/netplan

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue May 8 14:36:42 UTC 2018


** Also affects: nplan (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: nplan (Ubuntu)
       Status: New => In Progress

** Description changed:

+ [Impact]
+ Netboot users, and any scenario where YAML configuration is written to /run/netplan.
+ 
+ [Test case]
+ 1) Run 'sudo netplan apply'
+ 2) Verify that existing configuration *.yaml files in /run/netplan is not removed.
+ 
+ [Regression Potential]
+ /run/netplan is meant as a location for yaml configuration generated by other parts of the system, or by the boot processes, to be used and complement / override local config in /etc/netplan. Additional files are created in /run/netplan (such as wpa configuration when using wifi) which must be removed. Removal of the netplan configuration files may lead to incomplete configuration for network devices. This may cause a system to lose connectivity. Changes in network connectivity following "netplan apply" where configuration didn't otherwise change in /etc/netplan/*.yaml may indicate a regression.
+ 
+ ---
+ 
  Any .yaml file in /run/netplan are wiped out when 'netplan generate' is
  run. This is wrong, we might actually want to have .yaml files there for
  netplan configuration.
  
  What we don't want, however, is for generated wpa-*.conf files to be
  left around: wpasupplicant configuration really does need to go, as it
  will be generated again by 'netplan generate'.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1764869

Title:
  YAML configs wiped out from /run/netplan

Status in netplan.io package in Ubuntu:
  Fix Released
Status in nplan package in Ubuntu:
  In Progress

Bug description:
  [Impact]
  Netboot users, and any scenario where YAML configuration is written to /run/netplan.

  [Test case]
  1) Run 'sudo netplan apply'
  2) Verify that existing configuration *.yaml files in /run/netplan is not removed.

  [Regression Potential]
  /run/netplan is meant as a location for yaml configuration generated by other parts of the system, or by the boot processes, to be used and complement / override local config in /etc/netplan. Additional files are created in /run/netplan (such as wpa configuration when using wifi) which must be removed. Removal of the netplan configuration files may lead to incomplete configuration for network devices. This may cause a system to lose connectivity. Changes in network connectivity following "netplan apply" where configuration didn't otherwise change in /etc/netplan/*.yaml may indicate a regression.

  ---

  Any .yaml file in /run/netplan are wiped out when 'netplan generate'
  is run. This is wrong, we might actually want to have .yaml files
  there for netplan configuration.

  What we don't want, however, is for generated wpa-*.conf files to be
  left around: wpasupplicant configuration really does need to go, as it
  will be generated again by 'netplan generate'.

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



More information about the foundations-bugs mailing list