From: Lennart Poettering Date: Fri, 22 Jan 2021 19:39:29 +0000 (+0100) Subject: import: downgrade error messages we ignore to LOG_WARNING X-Git-Tag: v248-rc1~269^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18349%2Fhead;p=thirdparty%2Fsystemd.git import: downgrade error messages we ignore to LOG_WARNING --- diff --git a/src/import/import-common.c b/src/import/import-common.c index 250270511da..3872716f602 100644 --- a/src/import/import-common.c +++ b/src/import/import-common.c @@ -110,11 +110,11 @@ int import_fork_tar_x(const char *path, pid_t *ret) { } if (unshare(CLONE_NEWNET) < 0) - log_error_errno(errno, "Failed to lock tar into network namespace, ignoring: %m"); + log_warning_errno(errno, "Failed to lock tar into network namespace, ignoring: %m"); r = capability_bounding_set_drop(retain, true); if (r < 0) - log_error_errno(r, "Failed to drop capabilities, ignoring: %m"); + log_warning_errno(r, "Failed to drop capabilities, ignoring: %m"); /* Try "gtar" before "tar". We only test things upstream with GNU tar. Some distros appear to * install a different implementation as "tar" (in particular some that do not support the