fping fails for non-root user

39 views
Skip to first unread message

Dominic Ferard

unread,
Sep 21, 2024, 8:09:11 AM9/21/24
to fping-users
I have a puzzle with a (testing VM) machine in which fping fails for all non-root users. ping and all other programs seem fine as far as I can tell.

# for U_ID in 0 1000; do echo -e "\nas user $U_ID:"; sudo -u"#$U_ID" fping -c1 127.0.0.1; done

as user 0:
127.0.0.1 : [0], 64 bytes, 0.035 ms (0.035 avg, 0% loss)

127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.035/0.035/0.035

as user 1000:
127.0.0.1 : [0], timed out (NaN avg, 100% loss)

127.0.0.1 : xmt/rcv/%loss = 1/0/100%

Dominic Ferard

unread,
Sep 21, 2024, 8:11:33 AM9/21/24
to fping-users
Sorry, I should have said: my fping version is 5.1.

Dominic Ferard

unread,
Sep 21, 2024, 8:46:02 AM9/21/24
to fping-users
Sorry, I can confirm that this problem goes away with fping 5.2.

On Saturday 21 September 2024 at 13:09:11 UTC+1 Dominic Ferard wrote:
Reply all
Reply to author
Forward
0 new messages