Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make core dumps accessible to the user on dev-desktop #133

Open
bjorn3 opened this issue Aug 30, 2024 · 3 comments
Open

Make core dumps accessible to the user on dev-desktop #133

bjorn3 opened this issue Aug 30, 2024 · 3 comments

Comments

@bjorn3
Copy link
Member

bjorn3 commented Aug 30, 2024

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.".

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 30, 2024

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.

@MarcoIeni
Copy link
Member

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 ?

@clubby789
Copy link

Relevant: rust-lang/simpleinfra#618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants