ip netns del zaps wg link

Harry G Coin hgcoin at gmail.com
Wed May 17 23:13:30 UTC 2023


First, Hi and thanks for all the effort!

At least on Ubuntu latest LTS:  As advertised, if a wireguard link gets 
created by systemd/networkd, then set into a different net namespace, 
all works well.

However, if that namespace is deleted, the link appears to be 'gone 
forever'.  Other link types reappear in the primary namespace when the 
namespace they are in gets deleted.   I'm not sure whether the link 
retains its 'up' or 'down' state when the namespace it's in gets deleted 
and reset to primary.  Not a big deal, doesn't happen often.

This is 100% repeatable.   Some other answer than 'inaccessible until 
the next reboot' would be nice.





More information about the WireGuard mailing list