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)
This commit is contained in:
Lennart Poettering
2023-10-16 13:35:28 +02:00
parent 283eb4fdd1
commit d4f0878e02
+2 -2
View File
@@ -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)