Docker Community Forums

Share and learn in the Docker community.

Run with exec-shield disabled?

build
dockerhub

(Sam Halliday) #1

Until very recently, I’ve been able to build emacs from source in a docker container using this recipe (https://github.com/ensime/ensime-docker/blob/v1.x/Dockerfile). However as of last week, all my builds have been failing with

Warning: Your system has a gap between BSS and the
heap (32188607 bytes). This usually means that exec-shield
or something similar is in effect. The dump may
fail because of this. See the section about
exec-shield in etc/PROBLEMS for more information.

I’ve read the etc/PROBLEMS and it says to disable exec-shield with

cat 0 > /proc/sys/kernel/exec-shield

but it doesn’t exist in the container.

Here is a link to a failed build, and you can find all previous builds until a week ago were successful

https://hub.docker.com/r/ensime/ci-server/builds/bsdln2g9dbqtlmrwer9qmye/