rpms/xinetd/devel xinetd-2.3.14-clean-pfd.patch, NONE, 1.1 xinetd.spec, 1.67, 1.68

Jan Zeleny jzeleny at fedoraproject.org
Fri Mar 19 08:08:32 UTC 2010


Author: jzeleny

Update of /cvs/extras/rpms/xinetd/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4686

Modified Files:
	xinetd.spec 
Added Files:
	xinetd-2.3.14-clean-pfd.patch 
Log Message:
fixed flooding log with error messages when disabled service at runtime

xinetd-2.3.14-clean-pfd.patch:
 service.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE xinetd-2.3.14-clean-pfd.patch ---
--- xinetd-2.3.14/xinetd/service.c.orig	2010-03-18 17:09:20.000000000 +0100
+++ xinetd-2.3.14/xinetd/service.c	2010-03-18 17:09:37.000000000 +0100
@@ -470,6 +470,7 @@ void svc_deactivate( struct service *sp 
    {
 #ifdef HAVE_POLL
       SVC_EVENTS( sp ) = 0;
+	  SVC_FD( sp ) = 0;
 #else      
       FD_CLR( SVC_FD( sp ), &ps.rws.socket_mask ) ;
 #endif /* HAVE_POLL */


Index: xinetd.spec
===================================================================
RCS file: /cvs/extras/rpms/xinetd/devel/xinetd.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -p -r1.67 -r1.68
--- xinetd.spec	21 Jan 2010 09:38:27 -0000	1.67
+++ xinetd.spec	19 Mar 2010 08:08:32 -0000	1.68
@@ -1,7 +1,7 @@
 Summary: A secure replacement for inetd
 Name: xinetd
 Version: 2.3.14
-Release: 28%{?dist}
+Release: 30%{?dist}
 License: xinetd 
 Group: System Environment/Daemons
 Epoch: 2
@@ -23,6 +23,7 @@ Patch10: xinetd-2.3.14-autoconf.patch
 Patch11: xinetd-2.3.14-poll.patch
 Patch12: xinetd-2.3.14-file-limit.patch
 Patch13: xinetd-2.3.14-tcpmux.patch
+Patch14: xinetd-2.3.14-clean-pfd.patch
 
 BuildRequires: autoconf, automake
 BuildRequires: libselinux-devel >= 1.30
@@ -64,6 +65,7 @@ located in the /etc/xinetd.d directory.
 %patch11 -p1 -b .poll
 %patch12 -p1 -b .file-limit
 %patch13 -p1 -b .tcpmux
+%patch14 -p1 -b .clean-pfd
 
 aclocal
 autoconf
@@ -123,6 +125,10 @@ fi
 %{_mandir}/*/*
 
 %changelog
+* Fri Mar 19 2010 Jan Zeleny <jzeleny at redhat.com> - 2:2.3.14-30
+- fixed flooding log with error messages when disabled service at runtime
+- updated release number to 30 to prevent rpm from detecting this as downgrade
+
 * Thu Jan 21 2010 Jan Zeleny <jzeleny at redhat.com> - 2:2.3.14-28
 - fixed issue with tcpmux service (#543968)
 



More information about the scm-commits mailing list