From 4cd31f63c5d38468387cd35c2cfd81d4b4f50f4d Mon Sep 17 00:00:00 2001 From: rajasec Date: Mon, 15 Feb 2016 17:52:19 +0530 Subject: [PATCH] Change softlink name to /dev/core Signed-off-by: rajasec --- libcontainer/rootfs_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/rootfs_linux.go b/libcontainer/rootfs_linux.go index 5ea6ff01..9e15775d 100644 --- a/libcontainer/rootfs_linux.go +++ b/libcontainer/rootfs_linux.go @@ -341,7 +341,7 @@ func setupDevSymlinks(rootfs string) error { // kcore support can be toggled with CONFIG_PROC_KCORE; only create a symlink // in /dev if it exists in /proc. if _, err := os.Stat("/proc/kcore"); err == nil { - links = append(links, [2]string{"/proc/kcore", "/dev/kcore"}) + links = append(links, [2]string{"/proc/kcore", "/dev/core"}) } for _, link := range links { var (