elastic / elastic/beats

[Heartbeat] Rootless ping doesn't work on OSX

Open
#20,007 6 comments 0 reactions 0 assignees View on GitHub
bug Heartbeat Team:obs-ds-hosted-services
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 2h
Merged PRs (30d)
364

Description

We have a report from @josephPresseller that rootless ping on OSX doesn't work. It appears to produce documents with errors like:

```
"error": {
"type": "io",
"message": "write udp 0.0.0.0:0->172.217.8.174: invalid argument"
},
```

which indicate that we're trying a rootless ping but don't have perms. Running as root fixes this, but we can do better on OSX, and should instead fail to start, giving a permissions error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.