Re: Genrating a core at boot time
Hi.
On Fri, 21 Nov 2014 21:51:37 +0100
Erwan David <erwan@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
Reply to: