On Mon, Oct 02, 2017 at 05:16:13PM +0200, Vincent Bernat wrote: > ? 2 octobre 2017 17:06 +0200, Marcus Ulbrich <m.ulbr...@tu-braunschweig.de> > : > > > I even get no core dump with the python oneliner either with chroot > > nor without... > > So, kernel.core_pattern seems to be problematic (unrelated, but my > python one-liner wasn't totally correct either). Try again with just > "core", the core file should be in the current directory. If it works, > retry with HAProxy and you should get the core in /var/lib/haproxy.
The other stuff often preventing the cores from being dumped is the presence of a "user" or "uid" directive in the global section. Either you have to remove it or you need to set /proc/sys/fs/suid_dumpable to 1. Willy