RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 948824 - ifup-aliases arping check takes too long
Summary: ifup-aliases arping check takes too long
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 948833 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-05 13:17 UTC by Chris Adams
Modified: 2018-12-01 15:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Users were not informed about performing ARP check well. Consequence: Users might be confused about time needed to bring the interface up. Fix: On every arp check print out the message to user. Result: User is informed about what is happening.
Clone Of:
Environment:
Last Closed: 2013-11-21 22:12:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1679 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2013-11-20 21:52:39 UTC

Description Chris Adams 2013-04-05 13:17:35 UTC
The change in ifup-aliases to arping every address takes way too long, especially on systems with lots of IPs (web hosting servers for example).  I'm using ifcfg-*range* files to create lots of aliases rapidly (380 on one server for example), but with the arping added, my 2 minute reboot goes up to 15, with no output at the console about what is happening (just looks like the system is hung).

ARPCHECK=no should be the default for range files (which are typically used for lots of IPs), and there should be some console output about what is happening.  If this is going to be enabled by default for range files, there should be a better way to check (some type of parallel check or something; anything that doesn't take 2 seconds per IP).

Also, while I saw the technical note about ifup-aliases checking for duplicate IPs, it didn't mention that this would cause a 2 second pause for each additional IP, nor did it mention the ARPCHECK=no setting to disable this.  This should have been better documented (and IMHO such a change should have defaulted to off).

Comment 1 Lukáš Nykrýn 2013-04-05 14:55:19 UTC
*** Bug 948833 has been marked as a duplicate of this bug. ***

Comment 2 Lukáš Nykrýn 2013-04-05 15:22:13 UTC
Thanks for submitting this bug. In previous version there was no possibility to check for duplicates for aliases and I think that was wrong. I agree that this change id not ideal for everyone and I should mention ARPCHECK=no in release notes. I don't think that disabling arp check by default for some set of configuration files would be the best way, because it would bring inconsistency. I also can't add parallel check for this, because that could cause nondeterministic behavior. Because of these reasons, I would rather keep current behavior, but I am open to other suggestions and I will definitely consider adding some info message about running arping, so the system would not look stuck.

Comment 3 Chris Adams 2013-04-05 16:23:43 UTC
I did figure out one inconsistency (that confused me for a bit): I had two servers that were not affected by this change.  They have nVidia network interfaces with the forcedeth module, and it apparently doesn't set /sys/class/net/<dev>/operstate, so ifup-aliases didn't run arping on those servers.  It looks like nothing else (at least in the "classic" network scripts) checks operstate, so that should probably be changed (add check to ifup or drop it from ifup-aliases).

Anyway, I understand the motivation for the change (I'm mostly just frustrated by it being made in the middle of RHEL 6, even at a point release, and that the effects weren't more prominently documented).  I'd suggest that all arping checks (including in ifup-eth) should probably print a message, since each one causes a two-second pause (in the normal case of "no conflict found").  I hadn't really looked, but I'd wondered why "ifup eth0" with a static IP (and no aliases) went from a fraction of a second to several seconds; printing something would be good.

Comment 12 errata-xmlrpc 2013-11-21 22:12:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1679.html


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