diff options
Diffstat (limited to 'initd/early.c')
-rw-r--r-- | initd/early.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/early.c b/initd/early.c index 7b281b2..d69495e 100644 --- a/initd/early.c +++ b/initd/early.c @@ -60,7 +60,7 @@ early_mounts(void) if (!is_container()) { mount("proc", "/proc", "proc", MS_NOATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, 0); mount("sysfs", "/sys", "sysfs", MS_NOATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, 0); - mount("cgroup", "/sys/fs/cgroup", "cgroup", MS_NODEV | MS_NOEXEC | MS_NOSUID, 0); + mount("cgroup2", "/sys/fs/cgroup", "cgroup2", MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_RELATIME, "nsdelegate"); mount("tmpfs", "/dev", "tmpfs", MS_NOATIME | MS_NOSUID, "mode=0755,size=512K"); ignore(symlink("/tmp/shm", "/dev/shm")); mkdir("/dev/pts", 0755); |