[Dnsmasq-discuss] dnsmasq crash - no core dump generated

Arvind Nagarajan arvind.nagarajan at gmail.com
Fri Dec 28 03:40:13 GMT 2018


Hi All,

When dnsmasq crashes due to segfault (SIGSEGV) I am not getting a core
file generated.
Is this expected?
dnsmasq is managed by systemd and started using
systemctl start dnsmasq.
The dnsmasq service file starts dnsmasq with '-k' option - keep in
foreground mode.

Howerver If I run the dnsmasq in debug mode using '-d' mode the core
dump is getting generated.

Do I need to add any signal handling code/any config knob to generate
core dump in -k' mode.
Any pointers regarding this will be helpful.

Thanks,
Arvind



More information about the Dnsmasq-discuss mailing list