Package: dnsmasq
Version: 2.42-2
Severity: normal
Tags: patch
In bug 473117 you included an Ubuntu fix making use of log_*_msg
functions rather than calling echo in the init script.
Eric Shattow discovered that this fix makes improper calls to a
"log_msg_end" function. The attached patch (from Eric Shattow) corrects
the typo.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy-proposed'), (500, 'hardy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- dnsmasq-2.42/debian/init.orig 2008-06-16 10:07:27.000000000 +0200
+++ dnsmasq-2.42/debian/init 2008-06-16 10:08:09.000000000 +0200
@@ -214,10 +214,10 @@
log_daemon_msg "Checking $DESC" "$NAME"
status
case "$?" in
- 0) log_warning_msg "running" ; log_msg_end 0; exit 0 ;;
- 1) log_warning_msg "dead, pid file exists" ; log_msg_end 1;
exit 1 ;;
- 3) log_warning_msg "not running" ; log_msg_end 3; exit 3 ;;
- *) log_warning_msg "unknown" ; log_msg_end 4; exit 4 ;;
+ 0) log_warning_msg "running" ; log_end_msg 0; exit 0 ;;
+ 1) log_warning_msg "dead, pid file exists" ; log_end_msg 1;
exit 1 ;;
+ 3) log_warning_msg "not running" ; log_end_msg 3; exit 3 ;;
+ *) log_warning_msg "unknown" ; log_end_msg 4; exit 4 ;;
esac
;;
*)