Fail to start ypbind service if domainname is not set
This commit is contained in:
parent
766e469314
commit
9b2113749c
@ -22,6 +22,7 @@ if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
|
|||||||
echo $"'$NISDOMAIN' (/etc/yp.conf)"
|
echo $"'$NISDOMAIN' (/etc/yp.conf)"
|
||||||
else
|
else
|
||||||
logger -t ypbind $"domain not found"
|
logger -t ypbind $"domain not found"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||||
Name: ypbind
|
Name: ypbind
|
||||||
Version: 1.33
|
Version: 1.33
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||||
@ -117,6 +117,9 @@ fi
|
|||||||
%doc README NEWS COPYING
|
%doc README NEWS COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 12 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-10
|
||||||
|
- Fail to start ypbind service if domainname is not set
|
||||||
|
|
||||||
* Wed Nov 16 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-9
|
* Wed Nov 16 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-9
|
||||||
- Fixed ypbind-post-waitbind to stop the service when binding is not success
|
- Fixed ypbind-post-waitbind to stop the service when binding is not success
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user