You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.5 (Final)
Issue
Run a curl in a shell script using exec driver will failed, cause /usr/lib64 not included after chroot.
As on CentOS, a lot of so files are placed in /usr/lib64 but it didn't be included into the chroot directories. -_- This problem affect all the system commands which use any so file in /usr/lib64. As Ubuntu has no /usr/lib64 directory, so could you make a compatible change for CentOS?
Reproduction steps
Write a shell script named 1.sh with the follow content:
curl "http://google.com/"1>>/stdout 2>>/stderr
Place 1.sh to a web server, eg http://remoteserver/1.sh
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.3.1-dev
Operating system and Environment details
Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.5 (Final)
Issue
Run a
curl
in a shell script usingexec
driver will failed, cause/usr/lib64
not included afterchroot
.As on CentOS, a lot of
so
files are placed in/usr/lib64
but it didn't be included into thechroot
directories. -_- This problem affect all the system commands which use anyso
file in/usr/lib64
. As Ubuntu has no/usr/lib64
directory, so could you make a compatible change for CentOS?Reproduction steps
Write a shell script named
1.sh
with the follow content:Place
1.sh
to a web server, eghttp://remoteserver/1.sh
Create a nomad job using
exec
driver:Check the nomad client alloc directory, got two files: an empty
stdout
, and a non-emptystderr
, which the content is:while
libcurl.so.4
exists at/usr/lib64/libcurl.so.4
of system.The text was updated successfully, but these errors were encountered: