Currently I have enabled core dumps by editing /etc/limits.conf
and addig * soft core unlimited
as well as using ulimit -c unlimited
.
But the core_pattern is this:
kernel.core_pattern = |/usr/share/apport/apport %p %s %c %P
So the core is transmitted to apport. I don't mind, and I don't want to mess with apport (I have a memory of something going wrong once when doing so), moreover apport nicely generates a core
file in the directory of my binary when it crashes.
Is there any way to edit the location where apport saves the core, or its file name (instead of a simple core
)? Similar to what I could do by disabling apport and editing the core_pattern
, but without disabling apport.