Systemd coredump zstd, enable elfutils support for stack traces in coredump #146573
Systemd coredump zstd, enable elfutils support for stack traces in coredump #146573flokli merged 2 commits intoNixOS:stagingfrom
Conversation
|
zstd compression reduces the size of the stack traces for my test form 3.0M to 1.4M. stack traces are now generated like they are on Debian like systems. |
|
Until very recently systemd was frequently crashing at stack trace generation time. Worth checking if nixos has a form of systemd/systemd#20354 backported. |
|
@trofi did this end up in We usually don't add non-NixOS-specific patches, but wait for patches to trickle into |
Aha! Yeah, two patches I was concerned about are already in
|
|
I like this change a lot. Is this also backportworthy to staging-21.11? |
|
@trofi I didn't build this yet, as it's quite a large rebuild. Is there a chance you could cherry-pick this into a local checkout and give it a spin? |
Sure! Works here just fine: |
|
Successfully created backport PR #147777 for |
Motivation for this change
I wanted to have stack traces in coredumpctl. Also enabled zstd support which was missing.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)