I recently recovered my Raspberry Pi that runs HomeAssistant after its SD card went kablooey. Most of the data was intact, but it’s not out of the question that some of the bits in some of the files might be of questionable value. One of the things I discovered after the recovery was that ping
no longer worked for one user account. It always returned:
ping: icmp open socket: Operation not permitted
This broke a piece of the HA automation that monitors my Internet connection and tells me if it’s down. Without ping…it’s down.
The fix is easy, requiring only a reinstall of iputils-ping
:
sudo apt install --reinstall iputils-ping