Skip to content

Fixed cf-support usage of coredumpctl matching#5904

Merged
craigcomstock merged 1 commit into
cfengine:masterfrom
craigcomstock:ent-13272/master
Oct 15, 2025
Merged

Fixed cf-support usage of coredumpctl matching#5904
craigcomstock merged 1 commit into
cfengine:masterfrom
craigcomstock:ent-13272/master

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor

Initially we had coredumpctl info /var/cfengine/bin/cf-* which matched the EXE (executable name).
We then changed this to /var/cfengine/* which was an incorrect change which limited the EXE to only items at /var/cfengine/ since the star is a glob and expanded to the files in that directory.

Instead we should use a find command to find files that are executable under /var/cfengine and run coredumpctl on each one we find.

Ticket: ENT-13272
Changelog: title

Initially we had coredumpctl info /var/cfengine/bin/cf-* which matched the EXE (executable name).
We then changed this to /var/cfengine/* which was an incorrect change which limited the EXE to only items at /var/cfengine/ since the star is a glob and expanded to the files in that directory.

(commit: 68b8429)

Instead we should use a find command to find files that are executable under /var/cfengine and run coredumpctl on each one we find.

Ticket: ENT-13272
Changelog: title

@nickanderson nickanderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensible.

@craigcomstock craigcomstock merged commit 241e543 into cfengine:master Oct 15, 2025
12 checks passed
@craigcomstock craigcomstock deleted the ent-13272/master branch October 15, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants