commit | d6a4076b6ba6547d7e52c377a7c58c56eb5ea16e | [log] [tgz] |
---|---|---|
author | Casey Callendrello <casey.callendrello@coreos.com> | Tue Aug 01 17:46:09 2017 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Aug 04 12:08:52 2017 -0700 |
tree | 1ca61b3b9c642b3d4d1fefb4451bb76a33c4bae2 | |
parent | aba9c23a6e1cb134840c998df14888dca469a485 [diff] |
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>