Skip to content

Commit

Permalink
Revert "[agentbeat] Fix agentbeat capabilities" (elastic#40510)
Browse files Browse the repository at this point in the history
* Revert "[agentbeat] Fix agentbeat capabilities (elastic#40466)"

This reverts commit 36cef2f.

* Update main.go
  • Loading branch information
blakerouse authored Aug 14, 2024
1 parent f010829 commit f6b8701
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 110 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Update Go version to 1.22.5. {pull}40082[40082]
- Fix FQDN being lowercased when used as `host.hostname` {issue}39993[39993]
- Beats won't log start up information when running under the Elastic Agent {40390}40390[40390]
- Elevate effective capability set to match the Permitted set for agentbeat {pull}40466[40466]
- Filebeat now needs `dup3`, `faccessat2`, `prctl` and `setrlimit` syscalls to run the journald input. If this input is not being used, the syscalls are not needed. All Beats have those syscalls allowed now because the default seccomp policy is global to all Beats. {pull}40061[40061]
- Beats will rate limit the logs about errors when indexing events on Elasticsearch, logging a summary every 10s. The logs sent to the event log is unchanged. {issue}40157[40157]

Expand Down
96 changes: 0 additions & 96 deletions x-pack/agentbeat/capabilities_linux.go

This file was deleted.

9 changes: 0 additions & 9 deletions x-pack/agentbeat/capabilities_other.go

This file was deleted.

4 changes: 0 additions & 4 deletions x-pack/agentbeat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ func prepareCommand(rootCmd *cmd.BeatsRootCmd) *cobra.Command {
if err != nil {
panic(fmt.Errorf("failed to set default config file path: %w", err))
}

// elevate Effective capabilities to match the Permitted set.
// required for unprivileged mode
initCapabilities()
return nil
}
return &rootCmd.Command
Expand Down

0 comments on commit f6b8701

Please sign in to comment.