From c3c5ddfc50e2794e16090a19f53acd65efde02aa Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 21 May 2014 14:28:19 -0600 Subject: [PATCH] Revert "Always mount a /run tmpfs in the container" This reverts commit 905795ece624675abe2ec2622b0bbafdb9d7f44c. Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- libcontainer/mount/init.go | 1 - 1 file changed, 1 deletion(-) diff --git a/libcontainer/mount/init.go b/libcontainer/mount/init.go index c414813..338623d 100644 --- a/libcontainer/mount/init.go +++ b/libcontainer/mount/init.go @@ -197,7 +197,6 @@ func newSystemMounts(rootfs, mountLabel string, mounts libcontainer.Mounts) []mo {source: "sysfs", path: filepath.Join(rootfs, "sys"), device: "sysfs", flags: defaultMountFlags}, {source: "shm", path: filepath.Join(rootfs, "dev", "shm"), device: "tmpfs", flags: defaultMountFlags, data: label.FormatMountLabel("mode=1777,size=65536k", mountLabel)}, {source: "devpts", path: filepath.Join(rootfs, "dev", "pts"), device: "devpts", flags: syscall.MS_NOSUID | syscall.MS_NOEXEC, data: label.FormatMountLabel("newinstance,ptmxmode=0666,mode=620,gid=5", mountLabel)}, - {source: "tmpfs", path: filepath.Join(rootfs, "run"), device: "tmpfs", flags: defaultMountFlags}, } if len(mounts.OfType("devtmpfs")) == 1 {