Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2010 18:41:58 GMT
From:      Henno Schooljan <henno@schooljan.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/147857: net/isc-dhcp41-server removes /var/db/dhcpd, chroot-enabled setups break after upgrade
Message-ID:  <201006141841.o5EIfwww083353@www.freebsd.org>
Resent-Message-ID: <201006141850.o5EIo1GR078283@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006141841.o5EIfwww083353>