From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 14 18:50:02 2010 Return-Path: Delivered-To: freebsd-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 F15A8106564A for ; Mon, 14 Jun 2010 18:50:01 +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 B485F8FC13 for ; Mon, 14 Jun 2010 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5EIo1PK078284 for ; Mon, 14 Jun 2010 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5EIo1GR078283; Mon, 14 Jun 2010 18:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 14 Jun 2010 18:50:01 GMT Resent-Message-Id: <201006141850.o5EIo1GR078283@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Henno Schooljan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B86021065673 for ; Mon, 14 Jun 2010 18:41:59 +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 A70618FC0A for ; Mon, 14 Jun 2010 18:41:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5EIfwo9083354 for ; Mon, 14 Jun 2010 18:41:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o5EIfwww083353; Mon, 14 Jun 2010 18:41:58 GMT (envelope-from nobody) Message-Id: <201006141841.o5EIfwww083353@www.freebsd.org> Date: Mon, 14 Jun 2010 18:41:58 GMT From: Henno Schooljan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/147857: net/isc-dhcp41-server removes /var/db/dhcpd, chroot-enabled setups break after upgrade X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 18:50:02 -0000 >Number: 147857 >Category: misc >Synopsis: net/isc-dhcp41-server removes /var/db/dhcpd, chroot-enabled setups break after upgrade >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 14 18:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Henno Schooljan >Release: 8.0-RELEASE-p2 >Organization: >Environment: FreeBSD server.schooljan.nl 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Thu May 27 13:25:11 CEST 2010 root@server.schooljan.nl:/usr/obj/usr/src/sys/SERVER i386 >Description: When dhcpd_chroot_enable="YES" is specified, a restart of the dhcpd deamon after an upgrade won't recreate the /var/db/dhcpd directory structure, but instead exists with this error: Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ chroot("/var/db/dhcpd"): No such file or directory If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file. exiting. /usr/local/etc/rc.d/isc-dhcpd: ERROR: Configuration file sanity check failed >How-To-Repeat: Start dhcpd server with chroot option enabled. Reinstall or upgrade dhcpd using ports. Start the dhcpd daemon again. >Fix: Do not remove the /var/db/dhcpd directory structure during a deinstallation, it is variable data so it should stay. >Release-Note: >Audit-Trail: >Unformatted: