Fixed init script to handle long rpcinfo requests
(rhbz#624688)
This commit is contained in:
parent
235e401634
commit
d9fd11fbb1
|
@ -103,10 +103,10 @@ start() {
|
|||
# the following fixes problems with the init scripts continuing
|
||||
# even when we are really not bound yet to a server, and then things
|
||||
# that need NIS fail.
|
||||
timeout=10
|
||||
timeout=$NISTIMEOUT
|
||||
firsttime=1
|
||||
SECONDS=0
|
||||
while [ $SECONDS -lt $timeout ]; do
|
||||
while [ $SECONDS -lt $timeout ] || [ $firsttime -eq 1 ] ; do
|
||||
if /usr/sbin/rpcinfo -p | LC_ALL=C fgrep -q ypbind
|
||||
then
|
||||
if [ $firsttime -eq 1 ]; then
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.32
|
||||
Release: 8%{?dist}.1
|
||||
Release: 8%{?dist}.2
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||
|
@ -88,6 +88,10 @@ fi
|
|||
%doc README NEWS COPYING
|
||||
|
||||
%changelog
|
||||
* Tue Nov 15 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-8.fc15.2
|
||||
- Fixed init script to handle long rpcinfo requests
|
||||
(rhbz#624688)
|
||||
|
||||
* Fri Apr 29 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-8.fc15.1
|
||||
- Removed NM_DBUS_VPN_SIGNAL_STATE_CHANGE, use own constant
|
||||
NM_DBUS_SIGNAL_STATE_CHANGED.
|
||||
|
|
Loading…
Reference in New Issue