From: Daniel Golle Date: Thu, 12 Mar 2020 19:53:36 +0000 (+0100) Subject: procd: actually wire-up netns support X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=40e578992b6af6a08126374c6e9aa84d1012e552;p=openwrt%2Fstaging%2Fneocturne.git procd: actually wire-up netns support When support for network namespaces was added to procd, adding the corresponding jail flag in procd.sh was ommitted. Add it now. Fixes: 97a03a4760 ("procd: update to latest git HEAD") Signed-off-by: Daniel Golle --- diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 89e5aa96f9..faf06fc257 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=procd -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index e8b1b6ffb7..7031763844 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -195,6 +195,7 @@ _procd_add_jail() { sysfs) json_add_boolean "sysfs" "1";; ronly) json_add_boolean "ronly" "1";; requirejail) json_add_boolean "requirejail" "1";; + netns) json_add_boolean "netns" "1";; esac done json_add_object "mount"