mbox series

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

Message ID 20190626190343.22031-1-aring@mojatatu.com (mailing list archive)
Headers show
Series iproute2 netns mount race issue and solution? | expand

Message

Alexander Aring June 26, 2019, 7:03 p.m. UTC
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(+)