Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 09:12:37 -0800
From:      Andrew Clark <andrew.clark@ucsb.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76820: isc-dhcp3-server build for use in jail should define USE_SOCKETS 
Message-ID:  <E1Cuw9F-0008vM-OS@oit.ucsb.edu>
Resent-Message-ID: <200501291720.j0THK3Mi087011@freefall.freebsd.org>

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

>Number:         76820
>Category:       ports
>Synopsis:       isc-dhcp3-server build for use in jail should define USE_SOCKETS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 17:20:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Clark
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
University of California, Santa Barbara
>Environment:
System: FreeBSD oit.ucsb.edu 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed Sep 22 05:43:45 PDT 2004 root@oit.ucsb.edu:/usr/obj/usr/src/sys/OIT i386

Relevant Port: isc-dhcp3-server-3.0.1.r14_6

>Description:
	/usr/ports/net/isc-dhcp3-server includes support for running the server
	within a FreeBSD jail.  However, since jails do not provide access to bpfs,
	and since isc-dhcpd wants a bpf by default, running the server within a
	jail will not work unless one defines USE_SOCKETS within the isc-dhcpd
	source in the file includes/site.h
	However, doing this could break things if one decides to go from a
	jailed environment to one with access to bpfs, where using a socket may or
	may not be appropriate for the application.
>How-To-Repeat:
	Build and install isc-dhcp3-server.  Attempt to run in jail.
>Fix:
	Define USE_SOCKETS in includes/site.h by removing comments around 
	line 138 of includes/site.h
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Cuw9F-0008vM-OS>