From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 26 18:20:03 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 643BE1065696 for ; Sat, 26 Dec 2009 18:20:03 +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 277128FC22 for ; Sat, 26 Dec 2009 18:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQIK3XJ026343 for ; Sat, 26 Dec 2009 18:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBQIK3wh026342; Sat, 26 Dec 2009 18:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 26 Dec 2009 18:20:03 GMT Resent-Message-Id: <200912261820.nBQIK3wh026342@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, Ivan Fitenko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B7D71065672 for ; Sat, 26 Dec 2009 18:19:47 +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 3A6B08FC16 for ; Sat, 26 Dec 2009 18:19:47 +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 nBQIJkdE082916 for ; Sat, 26 Dec 2009 18:19:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBQIJkFr082915; Sat, 26 Dec 2009 18:19:46 GMT (envelope-from nobody) Message-Id: <200912261819.nBQIJkFr082915@www.freebsd.org> Date: Sat, 26 Dec 2009 18:19:46 GMT From: Ivan Fitenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/142046: isc-dhcpd cannot write to leases.db 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: Sat, 26 Dec 2009 18:20:03 -0000 >Number: 142046 >Category: ports >Synopsis: isc-dhcpd cannot write to leases.db >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 26 18:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ivan Fitenko >Release: 8.0-RELEASE >Organization: >Environment: FreeBSD fate.openportal.org.ua 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: when compiled with 'paranoia' option, isc-dhcpd will run as a non-root user, while its initialization script creates .leases file as root, thus dhdpd will be unable to add give out any lease due to unability to write to that file. The problem is that the initialization script that is run as root and not dhcp user 'touch'es its .leases file and thus sets its run permissions as root >How-To-Repeat: compile isc-dhcpd with 'paranoia' option enabled. Try to aquire an address on a client machine via dhcp. The ip address will not be available, and a new entry will not be added to dhcp.leases file >Fix: >Release-Note: >Audit-Trail: >Unformatted: