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

[SRM] Update of dns-flood-detector



Hi,

while going through the RC bug list I figured out that I forgot to fix #431676 
in stable.
The fix for that is trivial[1] and I'd like to include it in the next point 
release. You can also have a look into the whole package[2].

Do you accept an upload? 

TIA, Jan.
[1] 
http://ftp.cyconet.org/debian/nmu-diff/dns-flood-detector_1.12-1etch1.patch
[2] 
http://ftp.cyconet.org/debian/archive/official/dns-flood-detector/1.12-1etch1/dns-flood-detector_1.12-1etch1_i386.changes
diff -Nru /tmp/znukZsjL0H/dns-flood-detector-1.12/debian/changelog /tmp/Kb7sK2UlQ8/dns-flood-detector-1.12/debian/changelog
--- /tmp/znukZsjL0H/dns-flood-detector-1.12/debian/changelog	2008-03-21 21:17:12.000000000 +0100
+++ /tmp/Kb7sK2UlQ8/dns-flood-detector-1.12/debian/changelog	2008-03-21 21:17:12.000000000 +0100
@@ -1,3 +1,9 @@
+dns-flood-detector (1.12-1etch1) stable; urgency=low
+
+  * make start-stop-daemon working instead of using kill (Closes: #431676).
+
+ -- Jan Wagner <waja@cyconet.org>  Fri, 21 Mar 2008 17:21:51 +0100
+
 dns-flood-detector (1.12-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru /tmp/znukZsjL0H/dns-flood-detector-1.12/debian/init.d /tmp/Kb7sK2UlQ8/dns-flood-detector-1.12/debian/init.d
--- /tmp/znukZsjL0H/dns-flood-detector-1.12/debian/init.d	2008-03-21 21:17:12.000000000 +0100
+++ /tmp/Kb7sK2UlQ8/dns-flood-detector-1.12/debian/init.d	2008-03-21 21:17:12.000000000 +0100
@@ -35,23 +35,22 @@
 	echo -n "Starting $DESC: "
 	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
 		--exec $DAEMON -- $DAEMON_OPTS
+	ps aux | grep $DAEMON | head -1 | awk '{ print $2 }' > /var/run/$NAME.pid
 	echo "$NAME."
 	;;
   stop)
 	echo -n "Stopping $DESC: "
 	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
 		--exec $DAEMON
-	killall -9 $NAME
 	echo "$NAME."
 	;;
   restart|force-reload)
 	echo -n "Restarting $DESC: "
 	start-stop-daemon --stop --quiet --pidfile \
 		/var/run/$NAME.pid --exec $DAEMON
-	killall -9 $NAME
-	sleep 1
 	start-stop-daemon --start --quiet --pidfile \
 		/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+	ps aux | grep $DAEMON | head -1 | awk '{ print $2 }' > /var/run/$NAME.pid
 	echo "$NAME."
 	;;
   *)

Attachment: pgpHqxOd4dSmn.pgp
Description: PGP signature


Reply to: