From 35c62aa03c2a7a0c55809530ce5ea4a48e9fb1d6 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Tue, 4 Mar 2014 12:32:17 -0800 Subject: [PATCH] remove /run mountpoint Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes (github: creack) --- nsinit/mount.go | 1 - 1 file changed, 1 deletion(-) diff --git a/nsinit/mount.go b/nsinit/mount.go index 7ce90fdb..6b6929c9 100644 --- a/nsinit/mount.go +++ b/nsinit/mount.go @@ -197,7 +197,6 @@ func mountSystem(rootfs string) error { {source: "tmpfs", path: filepath.Join(rootfs, "dev"), device: "tmpfs", flags: syscall.MS_NOSUID | syscall.MS_STRICTATIME, data: "mode=755"}, {source: "shm", path: filepath.Join(rootfs, "dev", "shm"), device: "tmpfs", flags: defaultMountFlags, data: "mode=1777"}, {source: "devpts", path: filepath.Join(rootfs, "dev", "pts"), device: "devpts", flags: syscall.MS_NOSUID | syscall.MS_NOEXEC, data: "newinstance,ptmxmode=0666,mode=620,gid=5"}, - {source: "tmpfs", path: filepath.Join(rootfs, "run"), device: "tmpfs", flags: syscall.MS_NOSUID | syscall.MS_NODEV | syscall.MS_STRICTATIME, data: "mode=755"}, } { if err := os.MkdirAll(m.path, 0755); err != nil && !os.IsExist(err) { return fmt.Errorf("mkdirall %s %s", m.path, err)