diff options
author | Casey Callendrello <casey.callendrello@coreos.com> | 2017-08-01 17:46:09 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2017-08-04 12:08:52 -0700 |
commit | d6a4076b6ba6547d7e52c377a7c58c56eb5ea16e (patch) | |
tree | 1ca61b3b9c642b3d4d1fefb4451bb76a33c4bae2 /misc | |
parent | aba9c23a6e1cb134840c998df14888dca469a485 (diff) | |
download | iproute2-d6a4076b6ba6547d7e52c377a7c58c56eb5ea16e.tar.gz |
netns: make /var/run/netns bind-mount recursive
When ip netns {add|delete} is first run, it bind-mounts /var/run/netns
on top of itself, then marks it as shared. However, if there are already
bind-mounts in the directory from other tools, these would not be
propagated. Fix this by recursively bind-mounting.
Signed-off-by: Casey Callendrello <casey.callendrello@coreos.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions