From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 18 06:08:51 2007 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09A3216A417 for ; Tue, 18 Sep 2007 06:08:51 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 919FF13C48D for ; Tue, 18 Sep 2007 06:08:50 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=ChqgpvmwXIrymDnd1wnGBKF5taKD0a61h/1rjFZ7S/MVKbrepxWVM0zqoA7ujsd5k2MuN72G2mzJerfU56YT1+epiYAaJTGNEWP0fZIT6eY1tjmkjS5vmYAAi1P/xjxjbXj5bUkHuS4KcGCfyhfDkaXi5lVYTtWa1xW9YjcKeWI=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1IXWGG-0006zc-Bf; Tue, 18 Sep 2007 10:08:40 +0400 Date: Tue, 18 Sep 2007 10:08:35 +0400 From: Eygene Ryabinkin To: freebsd-ports-bugs@FreeBSD.org Message-ID: <20070918060835.GJ21395@void.codelabs.ru> References: <200709010616.l816GBnR079910@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200709010616.l816GBnR079910@freefall.freebsd.org> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.5 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_05 Cc: Joerg.Pulz@frm2.tum.de, edwin@FreeBSD.org Subject: Re: ports/115967: enable chrooted net/isc-dhcp3-server on the FreeBSD 7.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 06:08:51 -0000 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. -- Eygene