Bug 784772

Summary: nmbscan should use ip neigh instead of arp
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: nmbscanAssignee: Mykola Ulianytskyi <lystor>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: lystor, rebus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-29 21:58:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 687920    
Attachments:
Description Flags
patch none

Description Jiri Popelka 2012-01-26 08:05:55 UTC
Created attachment 557600 [details]
patch

NMBscan uses 'arp -n' for resolution of IP addresses into MAC address.

arp is part of net-tools which has been deprecated for some time and we would
like to eventually get rid of it.

Would it be possible to use 'ip neigh' (equivalent of 'arp -n' from iproute
package) instead of 'arp -n' (see attached patch) ?

And also replace Requires:  net-tools
with Requires:  iproute
in spec file ?

Comment 1 Michal Ambroz 2012-01-27 20:48:08 UTC
Sounds reasonable, thanks for the patch.
I have added the patch to the package. Unfortunately koji has got some problems right now, so I am not able to rebuild package.

Comment 2 Michal Ambroz 2012-01-29 21:58:43 UTC
Done, 
patch added for F17.