Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2009 18:19:46 GMT
From:      Ivan Fitenko <sin@tcsh.org.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142046: isc-dhcpd cannot write to leases.db
Message-ID:  <200912261819.nBQIJkFr082915@www.freebsd.org>
Resent-Message-ID: <200912261820.nBQIK3wh026342@freefall.freebsd.org>

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

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



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