summaryrefslogtreecommitdiffstats
path: root/src/core/namespace.c
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2022-01-27 15:08:44 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2022-01-27 15:21:29 +0100
commit6d7c999ab5958d6f1f192e7d0a63b8c330a077cb (patch)
treebbe7fe2f5e3ae88bd1ce0209572a77ddd1bbbafd /src/core/namespace.c
parenttest: use mksquashfs -noappend (diff)
downloadsystemd-6d7c999ab5958d6f1f192e7d0a63b8c330a077cb.tar.xz
systemd-6d7c999ab5958d6f1f192e7d0a63b8c330a077cb.zip
core: add clearer debug log when setting up ExecDirectories symlinks fails
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index f3c6b58f86..c8dc6c0503 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -1804,7 +1804,7 @@ static int apply_mounts(
* exist, which means this will be a no-op. */
r = create_symlinks_from_tuples(root, exec_dir_symlinks);
if (r < 0)
- return r;
+ return log_debug_errno(r, "Failed to set up ExecDirectories symlinks inside mount namespace: %m");
/* Create a deny list we can pass to bind_mount_recursive() */
deny_list = new(char*, (*n_mounts)+1);