mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
execute: downgrade namespace error to "warning"
Also, extend the printed warning a bit, explaining the situation more verbosely.
This commit is contained in:
parent
8a25e11e6c
commit
8fa6cbe1a9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user