Bug#949235: ip netns add race condition can wreak havoc in mount points

2020-12-17 Thread Etienne Dechamps
Hi Luca, On Fri, 27 Nov 2020 at 18:09, Luca Boccassi wrote: > Can reproduce the issue - sent a patch to use flock(): > > https://patchwork.ozlabs.org/project/netdev/patch/20201127180651.80283-1-bl...@debian.org/ > > Please test it as well, cannot reproduce anymore once the fix is in. Sorry for

Bug#949235: ip netns add race condition can wreak havoc in mount points

2020-11-27 Thread Luca Boccassi
Control: forwarded -1 https://patchwork.ozlabs.org/project/netdev/patch/20201127180651.80283-1-bl...@debian.org/ Control: tags -1 patch On Sat, 18 Jan 2020 17:06:55 + Etienne Dechamps wrote: > Package: iproute2 > Version: 4.20.0-2 > Severity: important > Control: found -1 5.4.0-1 > > The

Bug#949235: ip netns add race condition can wreak havoc in mount points

2020-01-18 Thread Etienne Dechamps
Package: iproute2 Version: 4.20.0-2 Severity: important Control: found -1 5.4.0-1 The ipnetns.c:netns_add() function sets up the /var/run/netns mount point in a way that is fragile to race conditions if the routine is entered to by multiple processes at the same time. If the race condition is