Bug 601615
Summary: | ypbind fails to start with multiple NIS servers | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Karel Klíč <kklic> |
Component: | ypbind | Assignee: | Karel Klíč <kklic> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Karel Volný <kvolny> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | azelinka, bugzilla, kklic, kvolny, rvokal |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ypbind-1.20.4-28.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 601296 | Environment: | |
Last Closed: | 2010-11-10 22:00:20 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: |
Description
Karel Klíč
2010-06-08 10:25:09 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. the new initscript now reads: NISDOMAIN=`grep "domain" /etc/yp.conf | grep -v ^# | \ awk '{print $2}' | head -1` so only the first line is taken however, I'd suggest (for the future) to use the simpler command proposed in bug #601296 comment #2 as it uses just one awk call instead of four commands: NISDOMAIN=`awk '/^[^#]/ { if ($1 == "domain") {print $2; exit} }' /etc/yp.conf` Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |