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 829487 - ypbind will not bind if network is off
Summary: ypbind will not bind if network is off
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ypbind
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Honza Horak
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-06 21:22 UTC by Konstantin Olchanski
Modified: 2015-07-22 06:44 UTC (History)
4 users (show)

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
Clone Of:
Environment:
Last Closed: 2015-07-22 06:44:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch consulted with upstream (3.37 KB, patch)
2012-07-09 11:33 UTC, Honza Horak
no flags Details | Diff
patch consulted with upstream (3.40 KB, patch)
2012-07-10 08:38 UTC, Honza Horak
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1332 0 normal SHIPPED_LIVE ypbind bug fix and enhancement update 2015-07-20 17:52:51 UTC

Description Konstantin Olchanski 2012-06-06 21:22:07 UTC
ypbind does not bind to ypserv on localhost (same machine) if NetworkManager thinks that the network is off. This is surprising behaviour. One solution is use "ypbind -no-dbus", then ypbind binds to local ypserv correctly and NIS works as expected. Perhaps this should be the default configuration, matching the traditional UNIX behaviour of NIS tools.

ypbind-1.20.4-29.el6.x86_64

K.O.

Comment 2 Honza Horak 2012-07-09 11:33:32 UTC
Created attachment 597046 [details]
patch consulted with upstream

With this patch ypbind won't go offline when one of the servers is localhost.

Comment 3 Konstantin Olchanski 2012-07-09 17:48:42 UTC
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.

Comment 4 Honza Horak 2012-07-10 08:38:11 UTC
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.

Comment 5 RHEL Program Management 2013-10-14 00:37:20 UTC
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.

Comment 6 Honza Horak 2015-02-19 14:22:00 UTC
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

Comment 13 errata-xmlrpc 2015-07-22 06:44:27 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.

https://rhn.redhat.com/errata/RHBA-2015-1332.html


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