Bug 829487
Summary: | ypbind will not bind if network is off | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Konstantin Olchanski <olchansk> | ||||||
Component: | ypbind | Assignee: | Honza Horak <hhorak> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Jakub Prokes <jprokes> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.2 | CC: | jprokes, mmuzila, psklenar, todoleza | ||||||
Target Milestone: | rc | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Cause:
localhost not defined in domains causing need of the network when using it.
Consequence:
ypbind does not bind to ypserv on localhost when network is off
Fix:
Added check for localhost
Result:
ypbind works even if network is off
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-07-22 06:44:27 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: | |||||||||
Attachments: |
|
Description
Konstantin Olchanski
2012-06-06 21:22:07 UTC
Created attachment 597046 [details]
patch consulted with upstream
With this patch ypbind won't go offline when one of the servers is localhost.
I happened to look at the patch. The check is for IP address 127.0.0.1, correct for typical use, but remember than all 127.x.y.z IP addresses are localhost. K.O. Created attachment 597245 [details] patch consulted with upstream (In reply to comment #3) > I happened to look at the patch. The check is for IP address 127.0.0.1, > correct for typical use, but remember than all 127.x.y.z IP addresses are > localhost. K.O. Thanks for pointing to that, enhanced patch is attached. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. How to reproduce: 1. configure ypbind to bind to localhost 2. turn off all networks in NetworkManager except localhost 3. service ypbind start 4. echo $? Actual results: 1 ypbind doesn't work Expected results: 0 ypbind works 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. https://rhn.redhat.com/errata/RHBA-2015-1332.html |