Package: dnscache-run
Version: 1:1.05-3
Severity: grave
Tags: patch

Dnscache-run's postrm script does not properly terminate the dnscache process
because, AFAIK, it does not call properly the daemontools utility used to
terminate processes (uses 'sv' instead of 'svc').

The attached patch fixes this issue.

Regards

Javier
--- dnscache-run.postrm.orig	2008-07-19 23:30:59.000000000 +0200
+++ dnscache-run.postrm	2008-07-19 23:34:42.000000000 +0200
@@ -3,7 +3,7 @@
 
 test "$1" = 'purge' || exit 0
 
-sv force-stop /etc/sv/dnscache || :
+svc -x /etc/sv/dnscache || :
 rm -rf /etc/sv/dnscache
 rm -rf /var/lib/supervise/dnscache /var/lib/supervise/dnscache.log
 for i in '@*' current config lock state; do

Attachment: signature.asc
Description: Digital signature

Reply via email to