From: Daniel Golle Date: Mon, 19 Oct 2020 20:38:17 +0000 (+0100) Subject: ubus: prepare to run ubusd as non-root user X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2dffadece9a7243a236ce7d91719787a671e23d4;p=openwrt%2Fstaging%2Fmkresin.git ubus: prepare to run ubusd as non-root user Move /var/run/ubus.sock to /var/run/ubus/ubus.sock in preparation for having ubusd run as non-root user. Signed-off-by: Daniel Golle --- diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile index 824e71924f..a1c35a7c0f 100644 --- a/package/system/ubus/Makefile +++ b/package/system/ubus/Makefile @@ -5,9 +5,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubus.git -PKG_SOURCE_DATE:=2020-02-05 -PKG_SOURCE_VERSION:=171469e3138cce191892e20b6fd35b52c9368064 -PKG_MIRROR_HASH:=b4f1a3d70c2685c2aee2724b980b2ff747f8662f74d04d8be1c5a5e950b0e2ef +PKG_SOURCE_DATE:=2020-10-21 +PKG_SOURCE_VERSION:=13a4438b4ebdf85d301999e0a615640ac4c9b0a8 +PKG_MIRROR_HASH:=e9e88bb78993a31a33a1c9579f1facca2949c1a4397b842a9f1b469b170be5da CMAKE_INSTALL:=1 PKG_LICENSE:=LGPL-2.1 @@ -31,6 +31,7 @@ define Package/ubusd CATEGORY:=Base system TITLE:=OpenWrt RPC daemon DEPENDS:=+libubox +libblobmsg-json + USERID:=ubus=81:ubus=81 endef define Package/libubus