[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3295 - in glibc-package/trunk/debian: . debhelper.in



Author: aurel32
Date: 2009-02-21 00:17:29 +0000 (Sat, 21 Feb 2009)
New Revision: 3295

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/nscd.init
Log:
  * debhelper.in/nscd.init: fix cache flushing on restart/reload.  Closes:
    bug#516212.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-02-20 23:54:44 UTC (rev 3294)
+++ glibc-package/trunk/debian/changelog	2009-02-21 00:17:29 UTC (rev 3295)
@@ -12,6 +12,8 @@
     versions prior to 2.9-1.
   * debhelper.in/*symbols*: allow linking against private symbols again,
     but with a strict dependency on the upstream version.
+  * debhelper.in/nscd.init: fix cache flushing on restart/reload.  Closes:
+    bug#516212.
 
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 2370 (from glibc-bsd).

Modified: glibc-package/trunk/debian/debhelper.in/nscd.init
===================================================================
--- glibc-package/trunk/debian/debhelper.in/nscd.init	2009-02-20 23:54:44 UTC (rev 3294)
+++ glibc-package/trunk/debian/debhelper.in/nscd.init	2009-02-21 00:17:29 UTC (rev 3295)
@@ -93,8 +93,10 @@
 	;;
 restart|force-reload|reload)
 	log_daemon_msg "Restarting $DESC" "$NAME"
+	for table in passwd group hosts
+		$DAEMON --invalidate $table
+	done
 	stop_nscd
-	$DAEMON --invalidate passwd --invalidate group --invalidate hosts
 	case "$?" in
 	0|1)
 		start_nscd


Reply to: