Browse Source

procd: fix running jailed non-root process

Setting user and group for a jailed process caused the jail not to
come up. Fix this by passing user and group to ujail and change
user only once the jail has been setup.
This allows jailing services which refuse to run as root user.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 5 years ago
parent
commit
37929ddb70
1 changed files with 4 additions and 4 deletions
  1. 4 4
      package/system/procd/Makefile

+ 4 - 4
package/system/procd/Makefile

@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=procd
-PKG_RELEASE:=4
+PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git
-PKG_MIRROR_HASH:=3452cd65ca5765fb9df828f3dba35c5e51ce8c1f4f83c49875e72a5931a9fef5
-PKG_SOURCE_DATE:=2019-11-04
-PKG_SOURCE_VERSION:=3aa051b44177fc1403acab295f9f833451c4b9f0
+PKG_MIRROR_HASH:=ebf1ee3ff0587428cf6b972c0551372c8ccc8982cfa63cbe00b13dfd482859ec
+PKG_SOURCE_DATE:=2019-12-30
+PKG_SOURCE_VERSION:=5ed190aae1b3985719046f4c744e311fc9ef18e3
 CMAKE_INSTALL:=1
 
 PKG_LICENSE:=GPL-2.0