Your message dated Wed, 24 Mar 2010 20:28:15 +0000 (WET)
with message-id <[email protected]>
and subject line Package dhcp has been removed from Debian
has caused the Debian Bug report #256705,
regarding dhcp: -t "config test" option undocumented
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.)
--
256705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256705
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dhcp
Version: 2.0pl5-19
Severity: minor
Tags: patch
The -t option is only documented in the source code and the CHANGES file
as far as I can tell. Having it in -h help and the man page would be
useful. Patch attached.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C
--- dhcp-2.0pl5/server/dhcpd.c.orig 2004-06-29 00:15:45.000000000 +0800
+++ dhcp-2.0pl5/server/dhcpd.c 2004-06-29 00:15:47.000000000 +0800
@@ -309,7 +309,7 @@
note (url);
note ("");
- warn ("Usage: %s [-p <UDP port #>] [-d] [-f] [-cf config-file]",
+ warn ("Usage: %s [-p <UDP port #>] [-d] [-f] [-t] [-cf config-file]",
appname);
error(" [-lf lease-file] [-pf pidfile] [if0 [...ifN]]");
}
--- dhcp-2.0pl5/server/dhcpd.8.orig 2004-06-29 00:20:55.000000000 +0800
+++ dhcp-2.0pl5/server/dhcpd.8 2004-06-29 00:20:58.000000000 +0800
@@ -54,6 +54,9 @@
.B -q
]
[
+.B -t
+]
+[
.B -cf
.I config-file
]
@@ -194,6 +197,12 @@
used \fBonly\fR for testing lease files or database files in a
non-production environment.
.PP
+The
+.B -t
+option can be passed to check the configuration file for syntax errors,
+eg, before restarting dhcpd. If syntax errors are present, the return
+value will be 1 and the errors will be printed to stderr.
+.PP
When starting dhcpd up from a system startup script (e.g., /etc/rc),
it may not be desirable to print out the entire copyright message on
startup. To avoid printing this message, the
--- End Message ---
--- Begin Message ---
Version: 2.0pl5dfsg1-20.2+rm
You filed the bug http://bugs.debian.org/256705 in Debian BTS
against the package dhcp. I'm closing it at *unstable*, but it will
remain open for older distributions.
For more information about this package's removal, read
http://bugs.debian.org/446386. That bug might give the reasons why
this package was removed and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
--- End Message ---