From nobody@FreeBSD.org  Mon Jun 14 18:41:59 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B86021065673
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <henno@schooljan.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/isc-dhcp41-server removes /var/db/dhcpd, chroot-enabled setups break after upgrade
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147857
>Category:       ports
>Synopsis:       net/isc-dhcp41-server removes /var/db/dhcpd, chroot-enabled setups break after upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 18:50:01 UTC 2010
>Closed-Date:    Mon Jul 12 01:54:42 UTC 2010
>Last-Modified:  Mon Jul 12 02:00:13 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon Jun 14 19:11:39 UTC 2010 
Responsible-Changed-Why:  
Misfiled, ports bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147857 
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 14 19:12:33 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147857 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Mon Jul 12 01:54:40 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/147857: commit references a PR
Date: Mon, 12 Jul 2010 01:54:35 +0000 (UTC)

 wxs         2010-07-12 01:54:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/isc-dhcp41-server Makefile distinfo pkg-plist 
     net/isc-dhcp41-server/files isc-dhcpd.in 
   Added files:
     net/isc-dhcp41-server/files patch-server__Makefile.am 
   Removed files:
     net/isc-dhcp41-server pkg-deinstall 
   Log:
   [1]: Don't remove /var/db/dhcpd on deinstall. This was breaking chroot setups
        on upgrade.
   [2]: Install more man pages.
   [3]: Add LDAP configuration support. This was present in the other port.
   
   PR:             [1]: ports/147857
                   [2]: ports/147917
                   [3]: ports/147869
   Submitted by:   [1]: Henno Schooljan <henno@schooljan.nl>
                   [2]: Craig Leres <leres@ee.lbl.gov>
                   [3]: Alexander V. Ribchansky <triosoft@triosoft.com.ua>
   
   Revision  Changes    Path
   1.5       +59 -4     ports/net/isc-dhcp41-server/Makefile
   1.3       +3 -0      ports/net/isc-dhcp41-server/distinfo
   1.2       +1 -101    ports/net/isc-dhcp41-server/files/isc-dhcpd.in
   1.1       +15 -0     ports/net/isc-dhcp41-server/files/patch-server__Makefile.am (new)
   1.2       +0 -22     ports/net/isc-dhcp41-server/pkg-deinstall (dead)
   1.3       +4 -1      ports/net/isc-dhcp41-server/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
