[Dnsmasq-discuss] Patch to cache SRV records - updated version (#3)

Mufasa dgutierr at pride-rock.com
Tue Jan 8 23:51:38 GMT 2019


The requested core dump files have been sent.  I updated my CFLAGS to use -g instead of -O2 and executed the ulimit command immediately before dnsmasq is launched (same script) in the fresh container.

Because of the default behavior of Ubuntu’s Docker image, core dump files were not being generated nor could I set the core dump output location to a directory instead of the non-functional apport configuration default, so I made these additional changes to my environment to generate the files:

"docker —run”, the command to launch the container,  got new parameters "--privileged --ulimit core=-1” per recommendations I found on generating core dumps in a container.  This was in addition to running the ulimit command in the shell script I start dnsmasq from.

The launch script now does this to set the core dump location:
echo '/tmp/core.%h.%e.%t' > /proc/sys/kernel/core_pattern

-Daniel

> On Jan 8, 2019, at 3:14 AM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> 
> Thanks for the feedback, and for tracking the bleeding-edge code. The
> following should help get useful information.
> 
> 1) Replace -O2 with -g in your compilation flags
> 2) run the command "ulimit -c unlimited" from the shell you start
> dnsmasq from.
> 
> When it goes bang, send me the core dump and the dnsmasq binary.
> 



More information about the Dnsmasq-discuss mailing list