Skip to content

RFC iproute2 netns mount race issue and solution?

Alexander Aring linux-fsdevel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ip: netns: add mounted state file for each netnsip/ipnetns.c+16 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC iproute2 0/1] iproute2 netns mount race issue and solution?

Hi,

We found an issue how we can react on namespaces created by iproute2. As state of the current Linux kernel there exists no way to get events on new mounts. Polling is not an option because you can miss mounts.

It's an RFC to see that might people seeing the same issue here and would like to talk about possible solutions how to deal with that.

I cc linux-fs here that they might can tell me a solution which maybe already exists if not this solution should be backwards compatible.

I know this solution only works for iproute2 but isn't iproute2 not the standard defintion how /var/run/netns works?

- Alex

Alexander Aring (1):
ip: netns: add mounted state file for each netns

 ip/ipnetns.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Signature · 1 line
2.11.0