Your message dated Fri, 04 Jul 2008 17:37:55 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#486508: fixed in dhcp3 3.1.1-2
has caused the Debian Bug report #486508,
regarding dhcp3-server: Please use LSB functions in init scripts
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.)


-- 
486508: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486508
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dhcp3
Version: 3.1.1-1
Severity: minor
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch intrepid

Hi,

please consider using the standard LSB message functions in the init
script instead of echo. That will make dhcp3 server work with boot
splash, boot loggers, etc.

In addition to attached patch (which changes the init script), you
need to add a "lsb-base" dependency to dhcp3-server, to ensure that
/lib/lsb/init-functions is available.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
Remember to add Depends: lsb-base to dhcp3-server

--- debian/dhcp3-server.init.d.orig	2008-06-16 15:52:02.000000000 +0200
+++ debian/dhcp3-server.init.d	2008-06-16 15:57:07.000000000 +0200
@@ -26,6 +26,8 @@
 	exit 0
 fi
 
+. /lib/lsb/init-functions
+
 # Read init script configuration (so far only interfaces the daemon
 # should listen on.)
 . /etc/default/dhcp3-server
@@ -63,23 +65,24 @@
 case "$1" in
 	start)
 		test_config
-		echo -n "Starting $DESC: "
+		log_daemon_msg "Starting $DESC" "$NAME"
 		start-stop-daemon --start --quiet --pidfile $DHCPDPID \
 			--exec /usr/sbin/dhcpd3 -- -q $INTERFACES
 		sleep 2
 
 		if check_status -q; then
-			echo "$NAME."
+			log_end_msg 0
 		else
-			echo "$NAME failed to start - check syslog for diagnostics."
+			log_failure_msg "check syslog for diagnostics."
+			log_end_msg 1
 			exit 1
 		fi
 		;;
 	stop)
-		echo -n "Stopping $DESC: $NAME"
+		log_daemon_msg "Stopping $DESC" "$NAME"
 		start-stop-daemon --stop --quiet --pidfile $DHCPDPID
+		log_end_msg $?
 		rm -f "$DHCPDPID"
-		echo "."
 		;;
 	restart | force-reload)
 		test_config

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: dhcp3
Source-Version: 3.1.1-2

We believe that the bug you reported is fixed in the latest version of
dhcp3, which is due to be installed in the Debian FTP archive:

dhcp-client_3.1.1-2_all.deb
  to pool/main/d/dhcp3/dhcp-client_3.1.1-2_all.deb
dhcp3-client-udeb_3.1.1-2_i386.udeb
  to pool/main/d/dhcp3/dhcp3-client-udeb_3.1.1-2_i386.udeb
dhcp3-client_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-client_3.1.1-2_i386.deb
dhcp3-common_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-common_3.1.1-2_i386.deb
dhcp3-dev_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-dev_3.1.1-2_i386.deb
dhcp3-relay_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-relay_3.1.1-2_i386.deb
dhcp3-server-ldap_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-server-ldap_3.1.1-2_i386.deb
dhcp3-server_3.1.1-2_i386.deb
  to pool/main/d/dhcp3/dhcp3-server_3.1.1-2_i386.deb
dhcp3_3.1.1-2.diff.gz
  to pool/main/d/dhcp3/dhcp3_3.1.1-2.diff.gz
dhcp3_3.1.1-2.dsc
  to pool/main/d/dhcp3/dhcp3_3.1.1-2.dsc



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.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated dhcp3 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.8
Date: Mon, 16 Jun 2008 21:11:57 -0700
Source: dhcp3
Binary: dhcp3-server dhcp3-server-ldap dhcp3-common dhcp3-dev dhcp-client 
dhcp3-client dhcp3-client-udeb dhcp3-relay
Architecture: source i386 all
Version: 3.1.1-2
Distribution: unstable
Urgency: low
Maintainer: Andrew Pollock <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 dhcp-client - DHCP client transitional package
 dhcp3-client - DHCP client
 dhcp3-client-udeb - DHCP Client for debian-installer (udeb)
 dhcp3-common - common files used by all the dhcp3* packages
 dhcp3-dev  - API for accessing and modifying the DHCP server and client state
 dhcp3-relay - DHCP relay daemon
 dhcp3-server - DHCP server for automatic IP address assignment
 dhcp3-server-ldap - DHCP server able to use LDAP as backend
Closes: 396545 484261 484424 486508 486514 486518
Changes: 
 dhcp3 (3.1.1-2) unstable; urgency=low
 .
   * The "ISC will get domain-search right one of these releases" release
   * Patch pretty_print_option() to return all domains provided in the
     domain-search option (code taken from 4.0.0)
   * debian/control: add Suggests/Enhances relationship between
     dhcp3-server/dhcp3-server-ldap
   * debian/control: add a dhcp-client dummy package for transitioning from
     etch to lenny
   * debian/control: bumped Standards-Version (no changes)
   * debian/control: s/Uploader/Uploaders/
   * debian/rules: removed some old cruft predating use of dpatch for patch
     management
   * removed debian/scripts, nothing in there is referenced any more
 .
   * debian/debug-{enter,exit}: update debug hooks to also log the
     domain-search option
   * Added hook to dhclient to support RFC3442 (classless static route option)
     and add rfc3442-classless-static-routes to the options requested (closes:
     #396545)
   * Updated debian/patches/dhcp-3.1.0-ldap-code.dpatch (gracias José):
     - Corrected to use /var/lib/dhcp3 directory (closes: #484424)
     - Fixed LDAP bind connection (closes: #484261)
   * debian/dhcp3-client.prerm: removed, it wasn't doing anything
   * Added Lintian override for possible-gpl-code-linked-with-openssl to
     dhcp3-server-ldap
   * debian/dhclient-script.{linux,kfreebsd}: stop stripping out literal \032
     from $new_domain_search. It only gets in there if the domain-search is
     incorrectly specified as a single string of multiple space-separated
     domains.
   * debian/dhclient-script.{linux,kfreebsd}: only prepend the contents of the
     domain-name option to the contents of the domain-search option if it is
     not already present
   * debian/rules: remove client/scripts/debian on clean (closes: #486514)
   * debian/{dhcp3-server.init.d,dhcp3-server.postinst}: apply patch from
     Martin Pitt to not call init script on halt/reboot. Also remove stop
     symlinks from runlevels 0 and 6 for people upgrading (closes: #486518)
   * debian/dhcp3-server.init: applied patch from Martin Pitt to use LSB
     functions (closes: #486508)
   * debian/control: add lsb-base to dependencies of dhcp3-server
Checksums-Sha1: 
 d673524cea6fe2eb92801da3bd526af8c4a0db5c 1160 dhcp3_3.1.1-2.dsc
 3568b510fb2051d6d3272304e144325c01132d2e 129545 dhcp3_3.1.1-2.diff.gz
 9a43beb52eb247fcc68ce2b791027923d40a1785 331282 dhcp3-server_3.1.1-2_i386.deb
 b075ecc072177799c1d34b0dc29f8e4fe909fdf6 286136 
dhcp3-server-ldap_3.1.1-2_i386.deb
 d03cd04115314c135fd3bfcbae80ec942a844d3f 289582 dhcp3-common_3.1.1-2_i386.deb
 7c95da66da257f00888667fcc47ff2ef5b243958 105306 dhcp3-dev_3.1.1-2_i386.deb
 ea46ef0d3c4b9b686971589fea934ee2e94fdf37 22640 dhcp-client_3.1.1-2_all.deb
 19f1227009d27baa76e4b91a7cd80a2004924bfc 222516 dhcp3-client_3.1.1-2_i386.deb
 54cba8d42e6c203bb7810ee9e92f17d144605e6c 167074 
dhcp3-client-udeb_3.1.1-2_i386.udeb
 d1d5ffd4088a8d13e6c69158722a02226d6650ec 101528 dhcp3-relay_3.1.1-2_i386.deb
Checksums-Sha256: 
 f61bbeec60e129969ff95fe2115392930af526f12bfad8ccc8456f23ac066571 1160 
dhcp3_3.1.1-2.dsc
 07121b5a0b6f3155492ff91fe065667c8303aab979425a4fe33bd1b74c505766 129545 
dhcp3_3.1.1-2.diff.gz
 d96402d660ec41c68a605f27fd502bfc37a439b842b77fd73c10da6a17bc7a74 331282 
dhcp3-server_3.1.1-2_i386.deb
 9bf318b8c256c51f749f855d7dcdc58ed9c1fd36960adaa19245302d3b3c0c7a 286136 
dhcp3-server-ldap_3.1.1-2_i386.deb
 b63aef69f29cd0a07167f79be400e1f9ad5ffcc1f2197fda1a20eb74a8d46889 289582 
dhcp3-common_3.1.1-2_i386.deb
 8d4a0583f8560676e41af2e1a518a799d16047eda0916d4a4dfecbe4c8ee7410 105306 
dhcp3-dev_3.1.1-2_i386.deb
 be1f486fa6ff44da323c13c79013b38c61cebded1d0ff1f1c73a88275c00627e 22640 
dhcp-client_3.1.1-2_all.deb
 aedf24a10cdcbcba2ee1f61b4f38d6dd9eafc13320d947e47159c234f24aa3c7 222516 
dhcp3-client_3.1.1-2_i386.deb
 f8313c725f360690283d8a32dcb4f21904a3c7a1054e0b21088e72e508e3cc5c 167074 
dhcp3-client-udeb_3.1.1-2_i386.udeb
 1a3b6c0f40c7374ee15d18a54e5fe506c3892d0baec7aa5d9f39e52f3195c825 101528 
dhcp3-relay_3.1.1-2_i386.deb
Files: 
 959e65e5cd7d7b77d782ecf40234519c 1160 net important dhcp3_3.1.1-2.dsc
 da43ec9c2344e3e6238ea4a8e018e6a8 129545 net important dhcp3_3.1.1-2.diff.gz
 0e94d1201204ffe84ad0a7823ce4cf92 331282 net optional 
dhcp3-server_3.1.1-2_i386.deb
 67047b11c766cbec7ceae9274ca70772 286136 net optional 
dhcp3-server-ldap_3.1.1-2_i386.deb
 76c91bdc87ef3ff2268675819a0e2e55 289582 net important 
dhcp3-common_3.1.1-2_i386.deb
 e6f523a294e9f025b83e05a4f4d77031 105306 devel optional 
dhcp3-dev_3.1.1-2_i386.deb
 e840131973ba293fae672a5c86b8f6d8 22640 net important 
dhcp-client_3.1.1-2_all.deb
 fae37d19bf12030b92392bae4becc23b 222516 net important 
dhcp3-client_3.1.1-2_i386.deb
 51839161b15379207443e8ea8d1f7bb4 167074 debian-installer extra 
dhcp3-client-udeb_3.1.1-2_i386.udeb
 1a8995baf06976d3559c97c878bd072a 101528 net optional 
dhcp3-relay_3.1.1-2_i386.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIaxEwIblXXKfZFgIRAo1RAJ9ZHdVpK4TbDjuV/bMLmXqv0GpGNwCfUyPR
ClBAIUJu+cD5yVBFgM1oxm4=
=baa5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to