summaryrefslogtreecommitdiffstats
path: root/src/core/namespace.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-04-28 17:23:29 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-07 22:44:05 +0200
commit21b61b1dd26d4c4a4736aabac128037b67440e2a (patch)
tree87b1eaf878e3c4712fae8ddf6017b374a794b2d9 /src/core/namespace.c
parentmount-util: add a helper that can add an idmap to an existing mount (diff)
downloadsystemd-21b61b1dd26d4c4a4736aabac128037b67440e2a.tar.xz
systemd-21b61b1dd26d4c4a4736aabac128037b67440e2a.zip
dissect-image: add support for optionally mounting images with idmapping on
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 acf8d14b67..6d77ce9967 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -2170,7 +2170,7 @@ int setup_namespace(
if (root_image) {
/* A root image is specified, mount it to the right place */
- r = dissected_image_mount(dissected_image, root, UID_INVALID, dissect_image_flags);
+ r = dissected_image_mount(dissected_image, root, UID_INVALID, UID_INVALID, dissect_image_flags);
if (r < 0) {
log_debug_errno(r, "Failed to mount root image: %m");
goto finish;