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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user