Package: dhcp3-server
Version: 3.0.6.dfsg-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

In https://launchpad.net/bugs/187434 we got a report that calling
dhcp3d with the interface names put in between the options does not
always work. Indeed the manpage wants them to be after all options.

I fixed that in Ubuntu, and tested that it still works. I could not
reproduce the original bug, though.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

My 5 today: #180364 (ocamlnet, pkg-create-dbgsym), #146434 (xchat-gnome,
xchat), #186569 (glib2.0), #193971 (tmispell-voikko), #152803 (belocs-
locales-bin)
Do 5 a day - every day! https://wiki.ubuntu.com/5-A-Day
diff -u dhcp3-3.0.6.dfsg/debian/changelog dhcp3-3.0.6.dfsg/debian/changelog
--- dhcp3-3.0.6.dfsg/debian/changelog
+++ dhcp3-3.0.6.dfsg/debian/changelog
@@ -1,3 +1,11 @@
+dhcp3 (3.0.6.dfsg-1ubuntu4) hardy; urgency=low
+
+  * debian/dhcp3-server.init.d: Put interface names after the dhcp3d options,
+    to comply to manpage. Putting them first causes problems when using
+    multiple interfaces under some conditions. (LP: #187434)
+
+ -- Martin Pitt <[EMAIL PROTECTED]>  Wed, 27 Feb 2008 12:29:26 +0100
+
 dhcp3 (3.0.6.dfsg-1ubuntu3) hardy; urgency=low
 
   * debian/dhcp3-client.postinst:
diff -u dhcp3-3.0.6.dfsg/debian/dhcp3-server.init.d 
dhcp3-3.0.6.dfsg/debian/dhcp3-server.init.d
--- dhcp3-3.0.6.dfsg/debian/dhcp3-server.init.d
+++ dhcp3-3.0.6.dfsg/debian/dhcp3-server.init.d
@@ -87,7 +87,7 @@
 
                log_daemon_msg "Starting $DESC" "$NAME"
                start-stop-daemon --start --quiet --pidfile $DHCPDPID \
-                       --exec /usr/sbin/dhcpd3 -- -q $INTERFACES -pf $DHCPDPID 
-cf $CONFIG_FILE
+                       --exec /usr/sbin/dhcpd3 -- -q -pf $DHCPDPID -cf 
$CONFIG_FILE $INTERFACES 
                sleep 2
 
                if check_status -q; then

Attachment: signature.asc
Description: Digital signature

Reply via email to