From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 7742] New: dhcp lacks important features when BR2_ENABLE_DEBUG
Date: Mon, 22 Dec 2014 16:14:07 +0000 (UTC) [thread overview]
Message-ID: <bug-7742-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=7742
Summary: dhcp lacks important features when BR2_ENABLE_DEBUG
Product: buildroot
Version: 2014.11
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: thomas.claveirole at green-communications.fr
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 5804
--> https://bugs.busybox.net/attachment.cgi?id=5804
Fix the reported bug at least partially.
Hi,
When configured with --enable-debug, the DHCP server built from the dhcp
package has some important features disabled. Most notably, it cannot go
background, change its UID and GID, nor create PID files (see server/dhcpd.c
from the package's sources)...
... and setting BR2_ENABLE_DEBUG does add a --enable-debug option to all target
packages that use the Autotools, including the dhcp package (code is in
package/Makefile.in:387 and package/pkg-autotools.mk:205).
However, the help for BR2_ENABLE_DEBUG states that this option should only
impact debugging symbols. Therefore, disabling dhcp features when
BR2_ENABLE_DEBUG is on is a bit harsh.
I am not sure what a proper fix for this would be. *Maybe* a solution is not
to give --enable-debug to dhcp when BR2_ENABLE_DEBUG, but the Autotools
infrastructure does not allow this. Attached is a patch I use for the dhcp
package that keeps the aforementioned features even when one configures the
package with --enable-debug. But I only looked quickly at dhcpd's source code,
and --enable-debug might disable other features I am not aware of (and possibly
in other programs, e.g., the DHCP client).
Cheers,
Thomas
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next reply other threads:[~2014-12-22 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-22 16:14 bugzilla at busybox.net [this message]
2014-12-23 11:24 ` [Buildroot] [Bug 7742] dhcp lacks important features when BR2_ENABLE_DEBUG bugzilla at busybox.net
2015-07-30 10:12 ` bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-7742-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.