From a85b2c0e9093339c15abd940119644dce4e33495 Mon Sep 17 00:00:00 2001 From: Kenneth Feng Date: Mon, 28 Dec 2015 13:39:34 -0500 Subject: [PATCH] linux/exec: add /usr/share to ChrootEnv --- client/driver/executor/exec_linux.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/client/driver/executor/exec_linux.go b/client/driver/executor/exec_linux.go index 7b3cf4883..0648f3c2c 100644 --- a/client/driver/executor/exec_linux.go +++ b/client/driver/executor/exec_linux.go @@ -31,13 +31,14 @@ var ( // A mapping of directories on the host OS to attempt to embed inside each // task's chroot. chrootEnv = map[string]string{ - "/bin": "/bin", - "/etc": "/etc", - "/lib": "/lib", - "/lib32": "/lib32", - "/lib64": "/lib64", - "/usr/bin": "/usr/bin", - "/usr/lib": "/usr/lib", + "/bin": "/bin", + "/etc": "/etc", + "/lib": "/lib", + "/lib32": "/lib32", + "/lib64": "/lib64", + "/usr/bin": "/usr/bin", + "/usr/lib": "/usr/lib", + "/usr/share": "/usr/share", } )