ypbind.init: take the first domainname in yp.conf and use only that
(rhbz#601296)
This commit is contained in:
parent
4884aae2d1
commit
8935bf66e1
|
@ -67,7 +67,7 @@ start() {
|
|||
action $"domain is '$NISDOMAIN' " domainname $NISDOMAIN
|
||||
else # See if the domain is set in config file
|
||||
NISDOMAIN=`grep "domain" /etc/yp.conf | grep -v ^# | \
|
||||
awk '{print $2}'`
|
||||
awk '{print $2}' | head -1`
|
||||
if [ -n "$NISDOMAIN" ]; then
|
||||
action $"domain is '$NISDOMAIN' " \
|
||||
domainname $NISDOMAIN
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.31
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||
|
@ -85,6 +85,10 @@ fi
|
|||
%doc README NEWS
|
||||
|
||||
%changelog
|
||||
* Tue Jun 8 2010 Karel Klic <kklic@redhat.com> - 3:1.31-4
|
||||
- ypbind.init: take the first domainname in yp.conf and use
|
||||
only that (rhbz#601296)
|
||||
|
||||
* Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.31-3
|
||||
- Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278)
|
||||
- Use cp+rm instead of mv in nis.sh (#509240)
|
||||
|
|
Loading…
Reference in New Issue