Bug 1773196 - ifup tries to execute /sbin/arping
Summary: ifup tries to execute /sbin/arping
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 31
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Jan Macku
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-16 12:39 UTC by Kaarle Ritvanen
Modified: 2020-02-03 11:17 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-03 11:17:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.