From: BackSlasher Date: Thu, 9 Mar 2023 08:13:39 +0000 (+0200) Subject: udp-broadcast-relay-redux-openwrt: add cgroupsns to jail X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=562fb3aa0afb08bd60eb54aa3f5d8bbe4dbbe86b;p=feed%2Fpackages.git udp-broadcast-relay-redux-openwrt: add cgroupsns to jail Added `cgroupsns` to jail, otherwise you get this failure: ``` Mon Mar 6 14:46:05 2023 user.err : jail: Not using namespaces, capabilities or seccomp !!! ``` Error is here, seems to indicate that we're running a jail without using any capability. https://lxr.openwrt.org/source/procd/jail/jail.c#L2847 Decided to use minimal effort approach Signed-off-by: BackSlasher --- diff --git a/net/udp-broadcast-relay-redux-openwrt/Makefile b/net/udp-broadcast-relay-redux-openwrt/Makefile index f3854fb809..8f120d9441 100644 --- a/net/udp-broadcast-relay-redux-openwrt/Makefile +++ b/net/udp-broadcast-relay-redux-openwrt/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=udp-broadcast-relay-redux -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=2 PKG_LICENSE:=GPL-2.0 PKG_SOURCE_PROTO:=git diff --git a/net/udp-broadcast-relay-redux-openwrt/files/udp-broadcast-relay-redux.init b/net/udp-broadcast-relay-redux-openwrt/files/udp-broadcast-relay-redux.init index aa35f55462..6694215885 100644 --- a/net/udp-broadcast-relay-redux-openwrt/files/udp-broadcast-relay-redux.init +++ b/net/udp-broadcast-relay-redux-openwrt/files/udp-broadcast-relay-redux.init @@ -58,7 +58,7 @@ udp_broadcast_relay_redux_instance() { procd_append_param command "-t" "$dest_override" fi - procd_add_jail ubr-${PIDCOUNT} + procd_add_jail ubr-${PIDCOUNT} cgroupsns procd_close_instance }