From: Lennart Poettering Date: Mon, 16 Oct 2023 10:57:16 +0000 (+0200) Subject: namespace: downgrade log message of error we ignore to LOG_WARNING X-Git-Tag: v255-rc1~234^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c36f7636c447009a9bed9ce10e2c6333e9d25d9;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/core/namespace.c b/src/core/namespace.c index 4db3f1a90e1..cb23c6c1be7 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; }