Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 01:08:38 GMT
From:      Daniel Feenberg <feenberg@nber.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/132239: dhcp -d flag not working
Message-ID:  <200903020108.n2218c3V053177@www.freebsd.org>
Resent-Message-ID: <200903020110.n221A38X061313@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132239
>Category:       misc
>Synopsis:       dhcp -d flag not working
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 02 01:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Feenberg
>Release:        7.0-RELEASE-p5 #0
>Organization:
NBER
>Environment:
FreeBSD ldap.nber.org 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0
>Description:
The dhcpd man page suggests that the "-d" flag will cause
dhcpd to run in the foreground and log to standard error.
In fact, it seems to have no affect whatsoever.

There is also a "-f" flag to run dhcpd in the foreground, without
redirecting logging. It also seems to have no effect.

The version of dhcpd is 3.0.5

Here is a cut-and-paste from my terminal:

ldap# kill -1 17115
ldap# dhcpd -d
Internet Systems Consortium DHCP Server V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 236 leases to leases file.
Listening on BPF/rl0/44:4d:50:04:a2:65/NBER
Sending on   BPF/rl0/44:4d:50:04:a2:65/NBER
Sending on   Socket/fallback/fallback-net
ldap#
>How-To-Repeat:
kill -1 pidofdhcpdprocessrunning
dhcpd -d

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903020108.n2218c3V053177>