summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-01-22 20:39:29 +0100
committerLennart Poettering <lennart@poettering.net>2021-01-22 20:55:34 +0100
commit6a117acf5e4f3f4e0b696e021b6340c5ee719171 (patch)
treefd4d47072275f56045d818439e28e5a0bbed2fc2 /src/import
parent052ba0ebaea90ac4ce315b82eec573f071c5f16d (diff)
downloadsystemd-6a117acf5e4f3f4e0b696e021b6340c5ee719171.tar.gz
import: downgrade error messages we ignore to LOG_WARNING
Diffstat (limited to 'src/import')
-rw-r--r--src/import/import-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/import-common.c b/src/import/import-common.c
index 250270511d..3872716f60 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