Open bjorn3 opened 3 months ago
This can be done by changing the kernel.core_pattern
sysctl to eg core
(write core dumps in the working directory of the crashed program) or /tmp/core.%p
(write core dumps to /tmp) See https://man7.org/linux/man-pages/man5/core.5.html for more details under the "Naming of core dump files" section.
Hi! Writing core dumps in the current working directory seems the more "discoverable" option for users imo 👍
Do you want to send a PR to https://github.com/rust-lang/simpleinfra ?
They are currently being routed to apport rather than directly saved to the disk. Apport-cli doesn't allow access to the core dumps at all. It always reports "No pending crash reports.".