Skip to content

Adjust cf-support core dump finding to include more CFEngine binary l…#5619

Closed
craigcomstock wants to merge 1 commit into
masterfrom
craigcomstock-patch-5
Closed

Adjust cf-support core dump finding to include more CFEngine binary l…#5619
craigcomstock wants to merge 1 commit into
masterfrom
craigcomstock-patch-5

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor

…ocations

For example, httpd is outside of /var/cfengine/bin but could still coredump and we want to catch that.

…ocations

For example, httpd is outside of /var/cfengine/bin but could still coredump and we want to catch that.
@craigcomstock craigcomstock marked this pull request as draft October 14, 2024 17:27
@cf-bottom

Copy link
Copy Markdown

Thanks for submitting a PR! Maybe @larsewi can review this?

Comment thread misc/cf-support
response=${response:-/var/cfengine}
if [ "$response" != "n" ]; then
# file command on core files results in lines like the following which we parse for cf-* binaries
# core: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/var/cfengine/bin/cf-key', real uid: 0, effective uid: 0, realgid: 0, effective gid: 0, execfn: '/var/cfengine/bin/cf-key', platform: 'x86_64'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this portion needs more work, we shouldn't parse for cf-* anymore as we might be dealing with httpd or other binaries from /var/cfengine so more research/testing must be done.

@github-actions

Copy link
Copy Markdown

Marking this PR as stale due to inactivity; it will be closed in 7 days.

@github-actions github-actions Bot added the stale Pull requests with no recent activity label May 26, 2025
@craigcomstock

Copy link
Copy Markdown
Contributor Author

let's try updated #5817 instead

@olehermanse olehermanse deleted the craigcomstock-patch-5 branch August 26, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Pull requests with no recent activity

Development

Successfully merging this pull request may close these issues.

2 participants