summaryrefslogtreecommitdiff
path: root/src/shared/switch-root.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-21 16:30:58 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-21 16:32:01 +0200
commit03cfe0d51499e86b1573d121337594719d9f2012 (patch)
treecb76a92a501b16909f879944a4ad29ce88eefbad /src/shared/switch-root.c
parentef6fc8ee57eff8a2b612de0270c9a25e066ee290 (diff)
nspawn: finish user namespace support
Diffstat (limited to 'src/shared/switch-root.c')
-rw-r--r--src/shared/switch-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/switch-root.c b/src/shared/switch-root.c
index ae3839de16..b12189cd10 100644
--- a/src/shared/switch-root.c
+++ b/src/shared/switch-root.c
@@ -105,7 +105,7 @@ int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot,
* to look like. They might even boot, if they are RO and
* don't have the FS layout. Just ignore the error and
* switch_root() nevertheless. */
- (void) base_filesystem_create(new_root);
+ (void) base_filesystem_create(new_root, UID_INVALID, GID_INVALID);
if (chdir(new_root) < 0)
return log_error_errno(errno, "Failed to change directory to %s: %m", new_root);