I want core dumps for my crashing application, but can't find them. According to this answer I should be using apport.
$> systemctl list-unit-files | grep apport
apport-autoreport.path enabled
apport-autoreport.service static
apport-forward@.service static
apport.service generated
apport-forward.socket enabled
Looks okay, right?
$> cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c %d %P
But I don't see any core files in my current directory or /var/crash
.
I also tried
$> sudo sysctl -w kernel.core_pattern=core.%u.%p.%t
$> cat /proc/sys/kernel/core_pattern
core.%u.%p.%t
I still don't see any core files being created.
What am I missing?
/var/crash
? – N0rbert Jan 20 '20 at 19:04