ports/115967: enable chrooted net/isc-dhcp3-server on the FreeBSD 7.x

Joerg Pulz Joerg.Pulz at frm2.tum.de
Tue Sep 18 08:54:46 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tue, 18 Sep 2007, Eygene Ryabinkin wrote:

> Good day.
>
> Per note of Sergey Matveichuk, I am attaching the properly idented
> version of the patch for the rc.d script.
>
> --- isc-dhcpd.in.patch begins here ---
> --- isc-dhcpd.in.orig	2007-09-18 09:53:53.000000000 +0400
> +++ isc-dhcpd.in	2007-09-18 09:54:41.000000000 +0400
> @@ -354,11 +354,14 @@
> 				err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \
> 				      "are mutually exclusive. enable only one!"
> 			fi
> -			if checkyesno dhcpd_devfs_enable &&
> -			   ! ( type mount_devfs ) > /dev/null 2>&1; then
> -				warn "dhcpd_devfs_enable disabled" \
> -				     "-- not available"
> -				dhcpd_devfs_enable=NO
> +			if test `uname -r | cut -c 1` -le 6; then
> +				if checkyesno dhcpd_devfs_enable &&
> +				   ! ( type mount_devfs ) > /dev/null 2>&1;
> +				then
> +					warn "dhcpd_devfs_enable disabled" \
> +					     "-- not available"
> +					dhcpd_devfs_enable=NO
> +				fi
> 			fi
> 			if checkyesno dhcpd_makedev_enable &&
> 			   ! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then
> --- isc-dhcpd.in.patch ends here ---
>
> Please, treat this as a gentle reminder ;)) for the maintainer that
> this problem exists and it will be great to fix it before 7.0,
> because some people running ISC DHCPD can move there and find that
> the (almost) default configuration of dhcpd does no work anymore.

Dear Eygene,

sorry for my late response, but private stuuf kept me away from the 
computer for nearly 3 weeks.

Anyway, thanks for your work.
Would you please submit the refined version of the patch as follow-up to 
the original PR, i will then approve it ASAP.

Thnaks a lot
Joerg

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

iD8DBQFG749wSPOsGF+KA+MRAtknAJ401CVXueqS37Obh6ZRO87bxPxkVgCfRXUn
XFhJMGC5BEDuadHnAbf8dcY=
=arzU
-----END PGP SIGNATURE-----



More information about the freebsd-ports-bugs mailing list