- 2 years 2 months ago
I've been having a few problems with a tool I use Consul, receiving a bunch of signals which I don't think it should be. I tried to use strace to debug this and listen in on the signals it is actually receiving but I haven't been able to.
I keep getting the following error from my strace command:
strace: test_ptrace_setoptions_for_all: PTRACE_TRACEME doesn't work: Permission denied strace: test_ptrace_setoptions_for_all: unexpected exit status 1
I tried to add the following into /etc/sysctl.d/01-alpine.conf, but it hasn't changed anything:
kernel.grsecurity.harden_ptrace = 0 kernel.grsecurity.ptrace_readexec = 0
Is there anything else I can do to get strace running on Alpine Linux?