bottlerocket-os/bottlerocket

Consider adding `systemd-coredump` support?

Open

#2.858 geöffnet am 6. März 2023

Auf GitHub ansehen
 (2 Kommentare) (6 Reaktionen) (0 zugewiesene Personen)Rust (386 Forks)batch import
area/corehelp wantedstatus/needs-proposaltype/enhancement

Repository-Metriken

Stars
 (6.938 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 21h) (7 gemergte PRs in 30 T)

Beschreibung

What I'd like:

A way to have some access/management of core dumps, but without disks filling up, or needing to do hacky things to work around container filesystem resets deleting container images.

It looks like there is a reasonable solution implemented via systemd's coredump process that allows storing and fetching core dumps in a centeralized way, as well as being able to do things like compression and disk usage management. Obviously this can impact a lot of things in the system just from resource usage, but it seems like an option for a coordinated approach to core dump management.

My main environment of concern is Kubernetes, but this likely would apply to ECS as well.

Any alternatives you've considered:

Status-quo: No core dumps preserved. Allow programs dumping core to disk till disk runs out. Hack something in with a bootstrap container.

Edit: Submitted too quickly.

Contributor Guide