Skip to content

Fixed cf-support usage of coredumpctl matching (3.21)#5906

Merged
craigcomstock merged 1 commit into
cfengine:3.21.xfrom
craigcomstock:ent-13272/3.21
Oct 15, 2025
Merged

Fixed cf-support usage of coredumpctl matching (3.21)#5906
craigcomstock merged 1 commit into
cfengine:3.21.xfrom
craigcomstock:ent-13272/3.21

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.

(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
(cherry picked from commit b2f22a2)

Conflicts:
misc/cf-support

We didn't cherry pick the previous bad fix in 68b8429 mentioned above so conflicts were present.

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
(cherry picked from commit b2f22a2)

 Conflicts:
	misc/cf-support

  We didn't cherry pick the previous bad fix in 68b8429 mentioned above so conflicts were present.
@craigcomstock craigcomstock merged commit 8cc1c89 into cfengine:3.21.x Oct 15, 2025
11 checks passed
@craigcomstock craigcomstock deleted the ent-13272/3.21 branch October 15, 2025 19:22
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.

1 participant