Hi.

On Fri, 21 Nov 2014 21:51:37 +0100
Erwan David <er...@rail.eu.org> wrote:

> Following one of my bug report, the maintainer asks me to install the
> debug packages and try generating a core.
> But the crash happens only at boot time, the service can be started
> afterwards without problem.
> So I must reboot the server, while generating a core file that I can
> send afterwards.
> 
> The daemon is started by start-stop-daemon. Is it enough to add a
> cd /tmp

You may want to consider altering /proc/sys/kernel/core_parttern
instead. You never know if daemon changes its current working dir after
the launch.


> ulimit -c 0

Um. This will deny creation of core dump. You'll need something along
the lines of:

ulimit -c unlimited

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20141122002737.198821899d07bf93fec00...@gmail.com

Reply via email to