From e6fb276b72ecd9fbc7be35ff56f471ca00566236 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 21 May 2014 23:15:32 +0200 Subject: vserver.function: disable internal util-vserver netns handling --- vserver.functions | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vserver.functions b/vserver.functions index cd2cf9d..97e7b35 100644 --- a/vserver.functions +++ b/vserver.functions @@ -140,3 +140,15 @@ function enableInterfaces() { return $ret } + +# +# disable original netns handling +# + +function _handleNetNS() { + # The netns handling of util-vserver activates the netns inside the + # namespace, so the netns is not usable on the host. We have to disable + # the internal handling to use our variant. So we simply overwrite the + # internale function with this no-op. + return 0 +} -- cgit v1.2.3-1-g7c22