Bug 76820 - isc-dhcp3-server build for use in jail should define USE_SOCKETS
Summary: isc-dhcp3-server build for use in jail should define USE_SOCKETS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 17:20 UTC by Andrew Clark
Modified: 2005-07-25 18:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clark 2005-01-29 17:20:03 UTC
	/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.

Fix: 

Define USE_SOCKETS in includes/site.h by removing comments around 
	line 138 of includes/site.h
How-To-Repeat: 	Build and install isc-dhcp3-server.  Attempt to run in jail.
Comment 1 Andrew Clark 2005-01-29 22:55:44 UTC
On Sat, Jan 29, 2005 at 02:54:14PM -0800, Andrew Clark wrote:
> Class should change from maintainer-update -> change-request.  I'm not the
> maintainer of the port, nor did I mean to appear as a maintainer.  My
> apologies.
> 
> -- 
> Andrew Clark
> Campus Network Programmer
> University of California, Santa Barbara
> andrew.clark@ucsb.edu (805) 893-5311
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-02-01 09:39:36 UTC
Class Changed
From-To: maintainer-update->change-request

Fix class.
Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2005-05-31 12:03:17 UTC
State Changed
From-To: open->feedback

Forward PR to maintainer. 


Comment 4 Florent Thoumie freebsd_committer freebsd_triage 2005-05-31 12:03:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flz

Grab.
Comment 5 Florent Thoumie 2005-05-31 12:05:05 UTC
>     Dear maintainer, please have a look at the following PR :

> http://www.freebsd.org/cgi/query-pr.cgi?pr=76820

-- 
Florent Thoumie
flz@xbsd.org
Comment 6 Joerg Pulz 2005-06-10 13:06:29 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Andrew,

as I'm the new maintainer of the net/isc-dhcpd3-server i want to take care 
of your submitted PR ports/76820 from Sat Jan 29 17:20:03 GMT 2005.

The PR shows your system as FreeBSD-4.10.
So my question is, is this a special FreeBSD-4.X + jail issue or does the 
same apply to FreeBSD-5.x + jail?

Sorry for the question, but i've currently no FreeBSD-4.X system around 
me. All my isc-dhcp3-server installations are running FreeBSD-5.X without 
jail.

I will hopefully find some time at the weekend to install one system to 
reproduce and test this for myself, but in case i can't arrange it, some 
additional information from your side would be very helpful.

regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCqYJJSPOsGF+KA+MRAgE4AKDFNnml6ixXOicmXrtyXbFRxUhgmACdFmP3
mBn0oF/i0tPKfeABFDqtjtc=
=PS5u
-----END PGP SIGNATURE-----
Comment 7 Sergey Matveychuk freebsd_committer freebsd_triage 2005-06-15 09:26:54 UTC
Responsible Changed
From-To: flz->sem

flz kindly allow to take it from him
Comment 8 Andrew Clark 2005-07-22 18:28:49 UTC
Sorry for losing your response in my email.  I have the inverse of your 
problem - I'm not running any FreeBSD 5 machines currently - so I can't 
really say if it is also a FreeBSD 5.x problem.

--
Andrew Clark
Campus Network Programmer
Office of Information Technology
University of California, Santa Barbara
andrew.clark@ucsb.edu (805) 893-5311

--On Friday, June 10, 2005 02:06:29 PM +0200 Joerg Pulz 
<Joerg.Pulz@frm2.tum.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi Andrew,
>
> as I'm the new maintainer of the net/isc-dhcpd3-server i want to take
> care of your submitted PR ports/76820 from Sat Jan 29 17:20:03 GMT
> 2005.
>
> The PR shows your system as FreeBSD-4.10.
> So my question is, is this a special FreeBSD-4.X + jail issue or does
> the same apply to FreeBSD-5.x + jail?
>
> Sorry for the question, but i've currently no FreeBSD-4.X system
> around me. All my isc-dhcp3-server installations are running
> FreeBSD-5.X without jail.
>
> I will hopefully find some time at the weekend to install one system
> to reproduce and test this for myself, but in case i can't arrange
> it, some additional information from your side would be very helpful.
>
> regards
> Joerg
>
> - -- The beginning is the most important part of the work.
>  				-Plato
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (FreeBSD)
>
> iD8DBQFCqYJJSPOsGF+KA+MRAgE4AKDFNnml6ixXOicmXrtyXbFRxUhgmACdFmP3
> mBn0oF/i0tPKfeABFDqtjtc=
> =PS5u
> -----END PGP SIGNATURE-----
Comment 9 Sergey Matveychuk freebsd_committer freebsd_triage 2005-07-25 18:58:40 UTC
State Changed
From-To: feedback->closed

Included in maintainer's ports/84057, thanks!