[pkg-dhcp-devel] Bug#646062: [PATCH] dhcpd.conf.5 has incorrect info on EVENTs
Andrew Pollock
apollock at debian.org
Sun Nov 20 05:29:41 UTC 2011
Hello,
This bug was reported by one of our users, and they also provided a
suggested patch.
Please maintain the Cc to keep our bug tracking system in the loop.
regards
Andrew
----- Forwarded message from Peter Chubb <peter.chubb at nicta.com.au> -----
Date: Fri, 21 Oct 2011 10:09:18 +1100
From: Peter Chubb <peter.chubb at nicta.com.au>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#646062: isc-dhcp-server: dhcpd.conf has incorrect info on EVENTs
X-Mailer: reportbug 3.31
Package: isc-dhcp-server
Version: 4.2.2-1
Severity: minor
Now that DDNS is handled in C code, the section in dhcpd.conf on EVENTS
is out of date. The on commit and on expiry actions are no longer used for
DDNS, so are free for sysadmin use.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (700, 'unstable'), (500, 'oldstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.26-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages isc-dhcp-server depends on:
ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii debianutils 4.0.2 Miscellaneous utilities specific t
ii isc-dhcp-common 4.2.2-1 common files used by all the isc-d
ii libc6 2.13-14 Embedded GNU C Library: Shared lib
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
isc-dhcp-server recommends no packages.
-- debconf information excluded
----- End forwarded message -----
----- Forwarded message from Peter Chubb <peter.chubb at nicta.com.au> -----
Date: Fri, 21 Oct 2011 10:48:58 +1100
From: Peter Chubb <peter.chubb at nicta.com.au>
To: 646062 at bugs.debian.org
Subject: Bug#646062: [PATCH] a suggested patch to the dhcpd.conf(5) man page
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka)
FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3
(x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
TAGS: Patch
Index: isc-dhcp-4.2.2/server/dhcpd.conf.5
===================================================================
--- isc-dhcp-4.2.2.orig/server/dhcpd.conf.5 2011-06-02 09:30:53.000000000 +1000
+++ isc-dhcp-4.2.2/server/dhcpd.conf.5 2011-10-21 10:47:47.370065257 +1100
@@ -1422,29 +1422,24 @@ that accompanies it.
There are three kinds of events that can happen regarding a lease, and
it is possible to declare statements that occur when any of these
events happen. These events are the commit event, when the server
has made a commitment of a certain lease to a client, the release
event, when the client has released the server from its commitment,
and the expiry event, when the commitment expires.
.PP
To declare a set of statements to execute when an event happens, you
must use the \fBon\fR statement, followed by the name of the event,
followed by a series of statements to execute when the event happens,
-enclosed in braces. Events are used to implement DNS
-updates, so you should not define your own event handlers if you are
-using the built-in DNS update mechanism.
+enclosed in braces.
.PP
-The built-in version of the DNS update mechanism is in a text
-string towards the top of server/dhcpd.c. If you want to use events
-for things other than DNS updates, and you also want DNS updates, you
-will have to start out by copying this code into your dhcpd.conf file
-and modifying it.
+Commit events are processed before DDNS updates, expire and release
+events are processed during or after DDNS updates.
.SH REFERENCE: DECLARATIONS
.PP
.B The
.I include
.B statement
.PP
.nf
\fBinclude\fR \fI"filename"\fR\fB;\fR
.fi
.PP
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
----- End forwarded message -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20111119/d166bec6/attachment-0001.pgp>
More information about the pkg-dhcp-devel
mailing list