arping -V arping from iputils s20190709 arping -f -D -c 2 -I eth0 192.168.2.1; echo $? ARPING 192.168.2.1 from 0.0.0.0 eth0 Unicast reply from 192.168.2.1 [0E:4D:E9:6A:45:64] 0.827ms Sent 1 probes (1 broadcast(s)) Received 1 response(s) 1 arping -f -D -c 2 -I eth0 192.168.2.3; echo $? ARPING 192.168.2.3 from 0.0.0.0 eth0 Sent 2 probes (2 broadcast(s)) Received 0 response(s) 1 It should return 0 in the second case (no responses) Upstream fix: https://github.com/iputils/iputils/commit/18f14be80466ddc8fb17a400be82764a779c8dcd
Unfortunately, that return codes used in initramfs scripts to detect duplicate address and breaks remote unlock with dracut-crypt-ssh
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a95c6869f3abe76afd4197e4b7f92d25048861 commit 23a95c6869f3abe76afd4197e4b7f92d25048861 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-04-07 18:04:59 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-07 18:09:23 +0000 net-misc/iputils: fix arping Closes: https://bugs.gentoo.org/692982 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> ...rt-partially-fix-sent-vs-received-package.patch | 34 ++++ net-misc/iputils/iputils-20190709-r1.ebuild | 201 +++++++++++++++++++++ 2 files changed, 235 insertions(+)
*** Bug 730154 has been marked as a duplicate of this bug. ***