From 40e578992b6af6a08126374c6e9aa84d1012e552 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 12 Mar 2020 20:53:36 +0100 Subject: [PATCH] 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 --- package/system/procd/Makefile | 2 +- package/system/procd/files/procd.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 89e5aa96f97..faf06fc2577 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 e8b1b6ffb7d..70317638444 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" -- 2.30.2