From 03cfe0d51499e86b1573d121337594719d9f2012 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 May 2015 16:30:58 +0200 Subject: nspawn: finish user namespace support --- src/shared/switch-root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/switch-root.c') 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); -- cgit v1.2.3-54-g00ecf