From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 28 21:00:11 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F60610656CE for ; Wed, 28 Jan 2009 21:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C4FB8FC1A for ; Wed, 28 Jan 2009 21:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SL0BL5022606 for ; Wed, 28 Jan 2009 21:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0SL0ATA022602; Wed, 28 Jan 2009 21:00:10 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jan 2009 21:00:10 GMT Resent-Message-Id: <200901282100.n0SL0ATA022602@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bob Johnson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E79110656C6 for ; Wed, 28 Jan 2009 20:59:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6B68D8FC0A for ; Wed, 28 Jan 2009 20:59:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SKxFe8042874 for ; Wed, 28 Jan 2009 20:59:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0SKxEkJ042873; Wed, 28 Jan 2009 20:59:14 GMT (envelope-from nobody) Message-Id: <200901282059.n0SKxEkJ042873@www.freebsd.org> Date: Wed, 28 Jan 2009 20:59:14 GMT From: Bob Johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131093: chrooting isc-dhcpd to aliased /home can cause devfs-related problems 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: Wed, 28 Jan 2009 21:00:12 -0000 >Number: 131093 >Category: ports >Synopsis: chrooting isc-dhcpd to aliased /home can cause devfs-related problems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 21:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bob Johnson >Release: 7.0-RELEASE-p6 amd64 >Organization: University of Florida >Environment: FreeBSD bumble.eng.ufl.edu 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 10:59:10 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: IF isc-dhcp30-server-3.0.7_4 is installed AND /etc/rc.conf includes the following lines dhcpd_enable="YES" dhcpd_flags="-q" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="bge0" dhcpd_chroot_enable="YES" dhcpd_rootdir="/home/dhcpd" AND /home is a link to /usr/home (which is not uncommon) THEN when "/usr/local/etc/rc.d/isc-dhcpd restart" is run, the script will encounter an error with devfs (don't have exact message, but it said it couldn't create "_" directory in /dev). To then get dhcpd running requires that the user stop dhcpd, umount /usr/home/dhcpd/dev and then start dhcpd. Also, dev/_ seemed to already exist from original invocation of dhcpd. WORKAROUND is to give actual path to home dir in rc.conf, i.e. dhcpd_rootdir="/usr/home/dhcpd" then everything works as expected. But it would be nice (i.e. less confusing) if the /home alias could be specified in rc.conf. >How-To-Repeat: See above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: