summaryrefslogtreecommitdiff
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-17 13:54:27 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-17 13:54:27 +0200
commit8fa6cbe1a9f3f3353224116772619a4d3eb26f88 (patch)
tree5c531ed55d88c8ce8515f7b2884e57f2e941d352 /src/core/execute.c
parent8a25e11e6c4b74b7e5299792601e352ee96b8207 (diff)
execute: downgrade namespace error to "warning"
Also, extend the printed warning a bit, explaining the situation more verbosely.
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 43f2764a4..4b0767aed 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1547,7 +1547,7 @@ static int exec_child(ExecCommand *command,
context->mount_flags);
if (err == -EPERM)
- log_error_unit(params->unit_id, "Failed to setup namespace, ignoring: %s", strerror(-err));
+ log_warning_unit(params->unit_id, "Failed to set up file system namespace due to lack of privileges. Execution sandbox will not be in effect: %s", strerror(-err));
else if (err < 0) {
*error = EXIT_NAMESPACE;
return err;