rpms/shadow-utils/devel shadow-4.0.15-nscdFlushCash.patch, NONE, 1.1 shadow-utils.spec, 1.71, 1.72

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 4 06:38:13 UTC 2006


Author: pvrabec

Update of /cvs/dist/rpms/shadow-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18660

Modified Files:
	shadow-utils.spec 
Added Files:
	shadow-4.0.15-nscdFlushCash.patch 
Log Message:
properly notify nscd to flush its cache(#186803)


shadow-4.0.15-nscdFlushCash.patch:
 nscd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE shadow-4.0.15-nscdFlushCash.patch ---
--- shadow-4.0.15/lib/nscd.c.nscdFlushCash	2006-04-04 08:18:08.000000000 +0200
+++ shadow-4.0.15/lib/nscd.c	2006-04-04 08:18:30.000000000 +0200
@@ -87,7 +87,7 @@
 
 	req.version = NSCD_VERSION;
 	req.type = INVALIDATE;
-	req.key_len = strlen (service);
+	req.key_len = strlen (service) + 1;
 
 	iov[0].iov_base = &req;
 	iov[0].iov_len = sizeof (req);


Index: shadow-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/devel/shadow-utils.spec,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- shadow-utils.spec	3 Apr 2006 12:45:14 -0000	1.71
+++ shadow-utils.spec	4 Apr 2006 06:38:10 -0000	1.72
@@ -5,7 +5,7 @@
 Summary: Utilities for managing accounts and shadow password files.
 Name: shadow-utils
 Version: 4.0.15
-Release: 1
+Release: 2
 Epoch: 2
 URL: http://shadow.pld.org.pl/
 Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
@@ -18,6 +18,7 @@
 Patch4: shadow-4.0.13-newgrpPwd.patch
 Patch5: shadow-4.0.12-lOption.patch
 Patch6: shadow-4.0.14-symlinks.patch
+Patch7: shadow-4.0.15-nscdFlushCash.patch
 
 License: BSD
 Group: System Environment/Base
@@ -50,6 +51,7 @@
 %patch4 -p1 -b .newgrpPwd
 %patch5 -p1 -b .lOption
 %patch6 -p1 -b .symlinks
+%patch7 -p1 -b .nscdFlushCash
 
 rm po/*.gmo
 rm po/stamp-po
@@ -203,6 +205,9 @@
 %{_mandir}/*/man8/faillog.8*
 
 %changelog
+* Tue Apr 04 2006 Peter Vrabec <pvrabec at redhat.com> 2:4.0.15-2
+- properly notify nscd to flush its cache(#186803)
+
 * Mon Apr 03 2006 Peter Vrabec <pvrabec at redhat.com> 2:4.0.15-1
 - upgrade
 




More information about the fedora-cvs-commits mailing list