summaryrefslogtreecommitdiffstats
path: root/src/core/namespace.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-10-16 12:57:16 +0200
committerLennart Poettering <lennart@poettering.net>2023-10-16 13:17:59 +0200
commit3c36f7636c447009a9bed9ce10e2c6333e9d25d9 (patch)
tree3943f240f80aae01e71cbf34294e0ca37c5b6f09 /src/core/namespace.c
parentnamespace: convert ProtectHostname= logic to a static table (diff)
downloadsystemd-3c36f7636c447009a9bed9ce10e2c6333e9d25d9.tar.xz
systemd-3c36f7636c447009a9bed9ce10e2c6333e9d25d9.zip
namespace: downgrade log message of error we ignore to LOG_WARNING
frankly, the log message shouldn't be there at all, but the error path be propagated up, with a recognizable error code. But apparently this is important to @bluca.
Diffstat (limited to '')
-rw-r--r--src/core/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 4db3f1a90e..cb23c6c1be 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -1637,8 +1637,8 @@ static int apply_one_mount(
q = make_mount_point_inode_from_path(what, mount_entry_path(m), 0755);
if (q < 0 && q != -EEXIST)
- log_error_errno(q, "Failed to create destination mount point node '%s': %m",
- mount_entry_path(m));
+ log_warning_errno(q, "Failed to create destination mount point node '%s', ignoring: %m",
+ mount_entry_path(m));
else
try_again = true;
}