Thread (6 messages) 6 messages, 4 authors, 2019-07-03

Re: [RFC iproute2] netns: add mounting state file for each netns

From: Alexander Aring <hidden>
Date: 2019-07-02 05:36:56

Hi Matteo,

On Sun, Jun 30, 2019 at 09:29:33PM +0200, Matteo Croce wrote:
When ip creates a netns, there is a small time interval between the
placeholder file creation in NETNS_RUN_DIR and the bind mount from /proc.

Add a temporary file named .mounting-$netns which gets deleted after the
bind mount, so watching for delete event matching the .mounting-* name
will notify watchers only after the bind mount has been done.

Signed-off-by: Matteo Croce <redacted>
thanks for working on it and making my mess better!
Would be nice to have it upstream.

- Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help