[Bug 1966197] [NEW] Cleaning netplans after removing wireguard interface

Rahul 1966197 at bugs.launchpad.net
Thu Mar 24 10:43:49 UTC 2022


Public bug reported:

Hi, I am working on Ubuntu server 20.04 with network manager snap and
wireguard.

I can bring up wireguard interface using:

sudo wg-quick up <conf file>

I can also bring it down with

wg-quick down <conf file>

The netplan.io then, creates a yaml in /etc/netplan

When this inerface is deleted, this netplan is not removed.

Also, when i reboot, when i run:

sudo wg-quick up <conf file>

the netplan creates a new yaml file with a different uuid, instead of
recogonising it already exists.

Due to this the netplan in /etc/netplan folder piles up.

How can I fix this issue?

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


** Tags: netplan network-manager wirguard

** Tags added: netplan network-manager wirguard

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

Title:
  Cleaning netplans after removing wireguard interface

Status in netplan.io package in Ubuntu:
  New

Bug description:
  Hi, I am working on Ubuntu server 20.04 with network manager snap and
  wireguard.

  I can bring up wireguard interface using:

  sudo wg-quick up <conf file>

  I can also bring it down with

  wg-quick down <conf file>

  The netplan.io then, creates a yaml in /etc/netplan

  When this inerface is deleted, this netplan is not removed.

  Also, when i reboot, when i run:

  sudo wg-quick up <conf file>

  the netplan creates a new yaml file with a different uuid, instead of
  recogonising it already exists.

  Due to this the netplan in /etc/netplan folder piles up.

  How can I fix this issue?

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




More information about the foundations-bugs mailing list