HomeClusterLabs Projects

Low: python: Use coredumpctl to check for core files.
9b5d48f6f567Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Low: python: Use coredumpctl to check for core files.

If we're running on a system that supports systemd, core dumps will be
managed using coredumpctl. We need to use that tool to figure out if
there are any core dumps instead of looking in various directories.

Unfortunately, this also means we won't know whether a pacemaker-related
tool wrote a core dump or not. They'll all be in the journal by binary
name, which means we would have to search for every pacemaker or
corosync binary possible.

However, it seems likely that ctslab is being run on a dedicated system
and so if there are any core dumps present, they likely came from
pacemaker or something it relies upon. So it's probably fine to just
check for any core dumps and warn if one is found.

Fixes T651

Details

Provenance
clumensAuthored on Jan 31 2025, 10:38 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.