[Heartbeat][Agent] Seccomp / synthetics bugfix improvements#28514
Merged
andrewvc merged 8 commits intoelastic:masterfrom Oct 19, 2021
Merged
[Heartbeat][Agent] Seccomp / synthetics bugfix improvements#28514andrewvc merged 8 commits intoelastic:masterfrom
andrewvc merged 8 commits intoelastic:masterfrom
Conversation
Using capabilities breaks docker when run with `--cap-drop` which sometimes happens. We should find a way to fail gracefully instead.
Contributor
|
Pinging @elastic/uptime (Team:Uptime) |
Contributor
mergify bot
pushed a commit
that referenced
this pull request
Oct 19, 2021
Fixes a variety of seccomp and synthetics execution related issues: Adds the setcap syscall, which chrome invokes to drop all privileges. Chrome crashes w/o this. Adds the getgroups syscall, which we use to log the active groups Improves logging for process execution failures with more detail (cherry picked from commit 81c38fc)
andrewvc
added a commit
that referenced
this pull request
Oct 19, 2021
…28539) Fixes a variety of seccomp and synthetics execution related issues: Adds the setcap syscall, which chrome invokes to drop all privileges. Chrome crashes w/o this. Adds the getgroups syscall, which we use to log the active groups Improves logging for process execution failures with more detail (cherry picked from commit 81c38fc) Co-authored-by: Andrew Cholakian <andrew@andrewvc.com>
Icedroid
pushed a commit
to Icedroid/beats
that referenced
this pull request
Nov 1, 2021
…28514) Fixes a variety of seccomp and synthetics execution related issues: Adds the setcap syscall, which chrome invokes to drop all privileges. Chrome crashes w/o this. Adds the getgroups syscall, which we use to log the active groups Improves logging for process execution failures with more detail
Contributor
|
Post FF Testing looks good verified that heartbeat is runnign as a process in the container |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a variety of seccomp and synthetics execution related issues:
setcapsyscall, which chrome invokes to drop all privileges. Chrome crashes w/o this.getgroupssyscall, which we use to log the active groups