Hello everyone,

i've hit a weird edgecase where the wireguard config gets loaded and during the 
load the interface gets a address assigned which just disappears. Here's how i 
replicate it.

ip link add $IFNAME type wireguard
wg setconf $IFNAME $CONFIG #-- while this runs, run the command below in 
parallel
ip -6 address add $ADDR dev $IFNAME

Following this, the added interface address doesn't persist, yet no error is 
returned by either iproute2 or wireguard-tools.

Using:
iproute2 6.2.0
Linux 6.1.9
wireguard-tools 1.0.20210914

Is this a known problem? I assume it has to do with no locking being done or 
similar but i haven't looked deeper into it.

-- 
Alex D.
RedXen System & Infrastructure Administration
https://redxen.eu/

Attachment: signature.asc
Description: PGP signature

Reply via email to