deprecated netstat
Please change or add support to ss instead of using deprecated tool netstat.
sudo[29679]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/netstat --program --tcp --wide --all --numeric piaware[29674]: failed to run netstat: piaware[29674]: child process 29679 exited with status 255
What distro are you using that's missing netstat?
ArchLinux
Given that I don't build/test for Arch, I'd need a patch for this.
Other distributions will follow to drop net-tools and move on with iproute2 for shure, including debian based distros. E.g: https://lists.ubuntu.com/archives/ubuntu-devel/2017-January/039651.html For now as a workaround I just disabled verifications using netstat. Two solutions to solve this:
- verify if netstat (net-tools) exist or ss (iproute2) and split output verifications based on both.
- Change detection method to other tool.
I'm not against moving to ss and friends if
- you (or someone else) can provide a suitable patch; and
- you can validate that it doesn't break older systems
(note that piaware already uses iproute2 for some things)
The short term fix for Arch would be for the Arch build to depend on net-tools.