Enhance ypbind(8) with info about NISTIMEOUT

Add suggestion about extending NISTIMEOUT if ypbind timeouts
This commit is contained in:
Honza Horák 2012-08-23 15:15:46 +02:00
parent 623b0a6a2d
commit 5a7adb5d2a
2 changed files with 9 additions and 1 deletions

View File

@ -49,6 +49,8 @@ else
logger -t ypbind \ logger -t ypbind \
"Killing ypbind with PID $MAINPID." "Killing ypbind with PID $MAINPID."
kill -s 15 $MAINPID || : kill -s 15 $MAINPID || :
logger -t ypbind \
"Try increase NISTIMEOUT in /etc/sysconfig/ypbind"
fi fi
exit $retval exit $retval

View File

@ -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.36 Version: 1.36
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2 Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2
@ -18,6 +18,7 @@ Patch1: ypbind-1.11-gettextdomain.patch
Patch2: ypbind-mt-1.32-typo.patch Patch2: ypbind-mt-1.32-typo.patch
Patch3: ypbind-mt-1.32-typo2.patch Patch3: ypbind-mt-1.32-typo2.patch
Patch4: ypbind-sigpipe.patch Patch4: ypbind-sigpipe.patch
Patch5: ypbind-mt-1.36-nistimeout.patch
# This is for /bin/systemctl # This is for /bin/systemctl
Requires(post): systemd-units Requires(post): systemd-units
Requires(preun): systemd-units Requires(preun): systemd-units
@ -51,6 +52,7 @@ also need to install the ypserv package to a machine on your network.
%patch2 -p1 -b .typo %patch2 -p1 -b .typo
%patch3 -p1 -b .typo2 %patch3 -p1 -b .typo2
%patch4 -p1 -b .sigpipe %patch4 -p1 -b .sigpipe
%patch5 -p1 -b .nistimeout
%build %build
%configure --enable-dbus-nm %configure --enable-dbus-nm
@ -115,6 +117,10 @@ fi
%doc README NEWS COPYING %doc README NEWS COPYING
%changelog %changelog
* Thu Aug 23 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-5
- Enhance ypbind(8) with info about NISTIMEOUT
- Add suggestion about extending NISTIMEOUT if ypbind timeouts
* Mon Jul 23 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-4 * Mon Jul 23 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-4
- Add SIGPIPE to proper signal set - Add SIGPIPE to proper signal set
Related: #842228 Related: #842228