diff --git a/bin/xbps-uchroot/main.c b/bin/xbps-uchroot/main.c index a81a4ba6..18ce7f65 100644 --- a/bin/xbps-uchroot/main.c +++ b/bin/xbps-uchroot/main.c @@ -146,7 +146,7 @@ setup_overlayfs(const char *chrootdir, uid_t ruid, gid_t rgid) /* * Create a temporary directory on tmpfs for overlayfs storage. */ - if (mount("tmpfs", tmpdir, "tmpfs", MS_MGC_VAL|MS_PRIVATE, NULL) == -1) + if (mount("tmpfs", tmpdir, "tmpfs", 0, NULL) == -1) die("failed to mount tmpfs on %s", tmpdir); /* * Create the upper/work dirs to setup overlayfs.