-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Heartbeat] root privileges required for ICMP #11498
Comments
Pinging @elastic/uptime |
I agree, the error message is terrible. We should work on it. Even more ideally, we could research using capabilities instead of root access to let people run with the minimum of necessary privileges. |
I've added log messages and unprivileged icmp access.
- Non-root execution (preferred) - Unprivileged icmp access (implemented on kernel since ~2010) |
Fixed with #13795 |
It seems root privileges are required to execute the following monitor:
When running without root privileges, heartbeat fails with the following message:
Exiting: could not create monitor: job err failed to initiate IPv4 support
I propose to:
The text was updated successfully, but these errors were encountered: