Bug 1773196

Summary: ifup tries to execute /sbin/arping
Product: [Fedora] Fedora Reporter: Kaarle Ritvanen <kaarle.ritvanen>
Component: initscriptsAssignee: Jan Macku <jamacku>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 31CC: deekej, idonaldson0, jamacku, john.j5live, jonathan, jsynacek, kdudka, kzak, lnykryn, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-03 11:17:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaarle Ritvanen 2019-11-16 12:39:07 UTC
Description of problem:
Network scripts try to execute /sbin/arping, which has been moved to /usr/bin in the iputils package.

Version-Release number of selected component (if applicable):
network-scripts-10.02-2.fc31

Steps to Reproduce:
1. Configure an Ethernet interface with a static IP address
2. Run ifup on the interface

Actual results:
Interface becomes active but an error message is printed.

Expected results:
No error message is printed and a gratuitous ARP is sent. If another host has the same address configured, the interface is not activated.

Comment 1 Jan Macku 2020-01-24 13:04:58 UTC
Hi,

I created pull request which should fix this issue.

PR: https://github.com/fedora-sysv/initscripts/pull/302

Bug should be fixed in next release of initscripts.

Thank you.
Jan

Comment 2 Jan Synacek 2020-02-03 08:48:08 UTC
(In reply to Kaarle Ritvanen from comment #0)
> Description of problem:
> Network scripts try to execute /sbin/arping, which has been moved to
> /usr/bin in the iputils package.

/sbin/arping has been moved to /usr/sbin/arping. And because /sbin is a symlink to /usr/sbin, there is no reason why scripts that call /sbin/arping should stop working.

Comment 3 Ian Donaldson 2020-02-03 10:48:23 UTC
That would be true if arping was moved to /usr/sbin, but it wasn't; it was moved to /usr/bin, and /sbin doesn't point there.

Comment 4 Jan Synacek 2020-02-03 10:53:05 UTC
Sorry for the confusion. I was looking at F30.

Comment 5 Jan Synacek 2020-02-03 11:17:28 UTC
There is no need to fix this in initscripts. This should be fixed in iputils, see https://bugzilla.redhat.com/show_bug.cgi?id=1797525. Again, I'm sorry for the mess.