Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #10593 to 6.7: Fix waiting for new events #10825

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

kvch
Copy link
Contributor

@kvch kvch commented Feb 19, 2019

Cherry-pick of PR #10593 to 6.7 branch. Original message:

  • Adding more syscalls to the whitelist in libbeat
    I have removed the seccomp policy of journalbeat. Four new syscalls has been added to the common policy instead: fstatfs, getrlimit, ppoll and splice.
  • Eliminate possible deadlock when closing the client
  • Previously, journalbeat was unable to read new entries from the journal after it has been started. Now it is fixed, and the reader code is much simpler now.
  • updated vendored github.com/coreos/go-systemd/sdjournal to latest release (no changes)

* Adding more syscalls to the whitelist in `libbeat`
 I have removed the seccomp policy of `journalbeat`. Four new syscalls has been added to the common policy instead: `fstatfs`, `getrlimit`, `ppoll` and `splice`.
* Eliminate possible deadlock when closing the client
* Previously, `journalbeat` was unable to read new entries from the journal after it has been started. Now it is fixed, and the reader code is much simpler now.
* updated vendored `github.com/coreos/go-systemd/sdjournal` to latest release (no changes)

(cherry picked from commit 1dc58e0)
@kvch
Copy link
Contributor Author

kvch commented Mar 4, 2019

Failing tests are unrelated.

@kvch kvch merged commit 04e75f7 into elastic:6.7 Mar 4, 2019
DStape pushed a commit to DStape/beats that referenced this pull request Aug 20, 2019
* Adding more syscalls to the whitelist in `libbeat`
 I have removed the seccomp policy of `journalbeat`. Four new syscalls has been added to the common policy instead: `fstatfs`, `getrlimit`, `ppoll` and `splice`.
* Eliminate possible deadlock when closing the client
* Previously, `journalbeat` was unable to read new entries from the journal after it has been started. Now it is fixed, and the reader code is much simpler now.
* updated vendored `github.com/coreos/go-systemd/sdjournal` to latest release (no changes)

(cherry picked from commit 1dc58e0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants