- 11 months 12 hours ago
I am running my server on alpine 3.5 :
Linux sd-omega 4.4.52-0-grsec #1-Alpine SMP Tue Feb 28 10:15:40 GMT 2017 x86_64 Linux
my kernel is 4.4.52-0-grsec.
I run this docker image : https://github.com/janeczku/go-dnsmasq (with privileged=true and cap_add=NET_ADMIN in case it was a typical permissions error)
and in the log I get the error :
so I did a stacktrace to understand :
$ strace /go-dnsmasq execve("/go-dnsmasq", ["/go-dnsmasq"], [/* 10 vars */]) = 0 mmap(0x8e4000, 5019794, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = -1 EPERM (Operation not permitted) write(2, "PROT_EXEC|PROT_WRITE failed.\n\0", 30PROT_EXEC|PROT_WRITE failed. ) = 30 exit(127) = ? +++ exited with 127 +++
Few Google searches have led me to this github issue : https://github.com/KnpLabs/KnpSnappyBundle/issues/92
and according to the last response, it seems to be a kernel related issue but my knowledge in this topic is very limited.
I hope someone will be able to help me.
Thanks in advance
I have just tried to run go-dnsmasq on the host but I get the same-error, so this is definitely not docker-related