ports/76820: isc-dhcp3-server build for use in jail should define USE_SOCKETS

Andrew Clark andrew.clark at ucsb.edu
Sat Jan 29 17:20:04 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list