aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-01-30 18:32:00 +0000
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-02-04 21:51:11 +0000
commitc0c988e179a75d33c82ed0621d954fc0ac2c0c14 (patch)
treea718fedd535cddef2e15fb22b3dae314a5839604 /package/system/procd/files
parent96424c143dd818b391d9b8da18249eca1d2e6c83 (diff)
downloadupstream-c0c988e179a75d33c82ed0621d954fc0ac2c0c14.tar.gz
upstream-c0c988e179a75d33c82ed0621d954fc0ac2c0c14.tar.bz2
upstream-c0c988e179a75d33c82ed0621d954fc0ac2c0c14.zip
procd: support 'requirejail' attribute
Bump procd package to reduce log spam related to missing jail binaries in a non-jail capable system. bcb8655 instance: add 'requirejail' attribute An additional jail attribute 'requirejail' can now be used to indicate mandatory use of a jailed environment and hence prevent process startup in the event that the jail subsystem is unavailable. Procd will now only log errors if jail is unavailable and 1) is a mandatory requirement or 2) a procd debug level of at least 2 is in use. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index b8f9a210f6..e8b1b6ffb7 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -194,6 +194,7 @@ _procd_add_jail() {
procfs) json_add_boolean "procfs" "1";;
sysfs) json_add_boolean "sysfs" "1";;
ronly) json_add_boolean "ronly" "1";;
+ requirejail) json_add_boolean "requirejail" "1";;
esac
done
json_add_object "mount"