chiark / gitweb /
execute: downgrade namespace error to "warning"
[elogind.git] / src / core / execute.c
index 43f2764a49db32cbe6f0e504b138cbf89b2c0283..4b0767aed3151946f63653bc973503fe744e0d75 100644 (file)
@@ -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;