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 <nitz.raz@gmail.com>
This commit is contained in:
parent
278a6617a0
commit
562fb3aa0a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue