From: Lennart Poettering Date: Mon, 16 Oct 2023 11:16:40 +0000 (+0200) Subject: namespace: downgrade log messages to LOG_DEBUG X-Git-Tag: v255-rc1~234^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4f0878e028e2351a9a18cc3bbca12d93742918e;p=thirdparty%2Fsystemd.git namespace: downgrade log messages to LOG_DEBUG almost all code in namespace.c only logs at debug level as it is "library-like" code. But there are some outliers. Adjust them to match the rest of the code (Well, there are some left) --- diff --git a/src/core/namespace.c b/src/core/namespace.c index f1a24d23ad5..7d14a931446 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -951,7 +951,7 @@ add_symlink: temporary_mount, S_ISCHR(st.st_mode) ? "char" : "block", DEVNUM_FORMAT_VAL(st.st_rdev)) < 0) - return log_oom(); + return log_oom_debug(); (void) mkdir_parents(sl, 0755); @@ -2362,7 +2362,7 @@ int setup_namespace(const NamespaceParameters *p, char **error_path) { q = strjoin("/run/systemd/journal.", p->log_namespace); if (!q) - return log_oom(); + return log_oom_debug(); MountEntry *me = mount_list_extend(&ml); if (!me)