diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-03-07 13:17:55 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-03-07 13:17:55 +0100 |
commit | 09b9bd828981a4f9271f8906f7b6f5af04e1a6f9 (patch) | |
tree | 0bda42524f8aa9660862cf17806a571500be52fd | |
parent | 31e4b2dfdbd74f7451abf876dd5d9a674af7adfd (diff) | |
download | procd-openwrt-19.07.tar.gz |
instance: turn error into debug message for missing ujail binaryopenwrt-19.07
Since commit 557f11b3a20f ("instance: provide error feedback if ujail
binary is missing") worrying log spam of the form "unable to find
/sbin/jail ..." may be encountered.
This corresponds with the changes done in the upstream commit
bcb86554f1b4 ("instance: add 'requirejail' attribute").
Fixes: 557f11b3a20f ("instance: provide error feedback if ujail binary is missing")
Ref: https://forum.openwrt.org/t/openwrt-19-07-2-service-release/57066
Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r-- | service/instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/instance.c b/service/instance.c index e5615d5..35d398c 100644 --- a/service/instance.c +++ b/service/instance.c @@ -800,7 +800,7 @@ instance_jail_parse(struct service_instance *in, struct blob_attr *attr) r = stat(UJAIL_BIN_PATH, &s); if (r < 0) { - ERROR("unable to find %s: %m (%d)\n", UJAIL_BIN_PATH, r); + DEBUG(2, "unable to find %s: %m (%d)\n", UJAIL_BIN_PATH, r); return 0; } |