Your message dated Fri, 30 May 2008 19:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#473117: fixed in dnsmasq 2.42-1
has caused the Debian Bug report #473117,
regarding dnsmasq: use log_*_msg rather than echo in init script
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
473117: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473117
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dnsmasq
Version: 2.41-2
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In Ubuntu, we've applied the attached patch to make the init script lsb
compliant.
We thought you might be interested in doing the same.
- -- System Information:
Debian Release: lenny/sid
APT prefers hardy
APT policy: (500, 'hardy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-12-generic (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH7Ol2onjfXui9pOMRAnqDAJ4izc93G7ntiShjDMs5t7cDax+hBgCgrJG7
o6CSdwSrAaVa6rPGm1njlkE=
=Sre7
-----END PGP SIGNATURE-----
diff -u dnsmasq-2.41/debian/init dnsmasq-2.41/debian/init
--- dnsmasq-2.41/debian/init
+++ dnsmasq-2.41/debian/init
@@ -26,6 +26,8 @@
test "$ENABLED" != "0" || exit 0
test -x $DAEMON || exit 0
+. /lib/lsb/init-functions
+
# RESOLV_CONF:
# If the resolvconf package is installed then use the resolv conf file
# that it provides as the default. Otherwise use /etc/resolv.conf as
@@ -131,71 +133,76 @@
case "$1" in
start)
- echo -n "Starting $DESC: $NAME"
+ log_daemon_msg "Starting $DESC" "$NAME"
start
case "$?" in
0)
- echo "."
+ log_end_msg 0
start_resolvconf
exit 0
;;
1)
- echo " (already running)."
+ log_warning_msg "(already running)"
+ log_end_msg 0
exit 0
;;
*)
- echo " (failed)."
+ log_warning_msg "failed"
+ log_end_msg 1
exit 1
;;
esac
;;
stop)
stop_resolvconf
- echo -n "Stopping $DESC: $NAME"
+ log_daemon_msg "Stopping $DESC" "$NAME"
stop
case "$?" in
- 0) echo "." ; exit 0 ;;
- 1) echo " (not running)." ; exit 0 ;;
- *) echo " (failed)." ; exit 1 ;;
+ 0) log_end_msg 0 ; exit 0 ;;
+ 1) log_warning_msg "not running" ; log_end_msg 0 ; exit 0 ;;
+ *) log_warning_msg "failed" ; log_end_msg 1 ; exit 1 ;;
esac
;;
restart|force-reload)
stop_resolvconf
- echo -n "Restarting $DESC: $NAME"
+ log_daemon_msg "Restarting $DESC" "$NAME"
stop
case "$?" in
0|1)
start
case "$?" in
0)
- echo "."
+ log_end_msg 0
start_resolvconf
exit 0
;;
1)
- echo " (failed -- old process is still
running)."
+ log_warning_msg "failed -- old process
is still running"
+ log_end_msg 1
exit 1
;;
*)
- echo " (failed to start)."
+ log_warning_msg "failed to start"
+ log_end_msg 1
exit 1
;;
esac
;;
*)
- echo " (failed to stop)."
+ log_warning_msg "failed to stop"
+ log_end_msg 1
exit 1
;;
esac
;;
status)
- echo -n "Checking $DESC: $NAME"
+ log_daemon_msg "Checking $DESC" "$NAME"
status
case "$?" in
- 0) echo " (running)" ; exit 0 ;;
- 1) echo " (dead, pid file exists)" ; exit 1 ;;
- 3) echo " (not running)" ; exit 3 ;;
- *) echo " (unknown)" ; exit 4 ;;
+ 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 ;;
esac
;;
*)
--- End Message ---
--- Begin Message ---
Source: dnsmasq
Source-Version: 2.42-1
We believe that the bug you reported is fixed in the latest version of
dnsmasq, which is due to be installed in the Debian FTP archive:
dnsmasq-base_2.42-1_i386.deb
to pool/main/d/dnsmasq/dnsmasq-base_2.42-1_i386.deb
dnsmasq_2.42-1.diff.gz
to pool/main/d/dnsmasq/dnsmasq_2.42-1.diff.gz
dnsmasq_2.42-1.dsc
to pool/main/d/dnsmasq/dnsmasq_2.42-1.dsc
dnsmasq_2.42-1_all.deb
to pool/main/d/dnsmasq/dnsmasq_2.42-1_all.deb
dnsmasq_2.42.orig.tar.gz
to pool/main/d/dnsmasq/dnsmasq_2.42.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon Kelley <[EMAIL PROTECTED]> (supplier of updated dnsmasq package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 27 Feb 2008 21:15:28 +0000
Source: dnsmasq
Binary: dnsmasq dnsmasq-base
Architecture: source all i386
Version: 2.42-1
Distribution: unstable
Urgency: low
Maintainer: Simon Kelley <[EMAIL PROTECTED]>
Changed-By: Simon Kelley <[EMAIL PROTECTED]>
Description:
dnsmasq - A small caching DNS proxy and DHCP/TFTP server
dnsmasq-base - A small caching DNS proxy and DHCP/TFTP server
Closes: 468762 468763 473015 473117
Changes:
dnsmasq (2.42-1) unstable; urgency=low
.
* New upstream.
* Fix manpage typos. (closes: #468762)
* Use LSB log_*_msg rather than echo in init script. (closes: #473117)
* Fix agent-id echo problem. (closes: #473015)
* Fixup changing /usr/share/doc/dnsmasq to symlink. (closes: #468763)
Files:
a85538d6e8291812efb67bff170074b3 596 net optional dnsmasq_2.42-1.dsc
706bb9cc74be10065964527afaf55968 363042 net optional dnsmasq_2.42.orig.tar.gz
cfa61231e4df7b0ae741e94c4e5b2268 13429 net optional dnsmasq_2.42-1.diff.gz
fcf38e8a249b7e083465dfcd749f2a25 236674 net optional
dnsmasq-base_2.42-1_i386.deb
239e7e98e4aa480dfa2b58dc6eaad70a 12100 net optional dnsmasq_2.42-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFIPwjmKPyGmiibgrcRAhisAJ41cutoVVMKrngKo2/71J/ofjqNXgCgnqZg
pGr5G+UZ6zmNIM5KOh5cVhU=
=UkOY
-----END PGP SIGNATURE-----
--- End Message ---