From owner-freebsd-ports@FreeBSD.ORG Tue Jun 29 23:39:59 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C827316A4CE for ; Tue, 29 Jun 2004 23:39:59 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 037EF43D2D for ; Tue, 29 Jun 2004 23:39:59 +0000 (GMT) (envelope-from tomonage2@gmx.de) Received: (qmail 6448 invoked by uid 65534); 29 Jun 2004 22:35:37 -0000 Received: from pD95D0462.dip.t-dialin.net (EHLO [192.168.0.121]) (217.93.4.98) by mail.gmx.net (mp013) with SMTP; 30 Jun 2004 00:35:37 +0200 X-Authenticated: #7843803 User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Wed, 30 Jun 2004 00:35:32 +0200 From: Jonathan Weiss To: Cyrille Lefevre Message-ID: In-Reply-To: <003201c45e10$b3754030$7890a8c0@dyndns.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: isc-dhcp3-server-3.0.1.r14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 23:39:59 -0000 > "Jonathan Weiss" wrote: >>> do you have a dhcpd user and group ? if not, try the following >>> command : >>> >>> /usr/local/etc/rc.d/isc-dhcpd.sh install >> >> I would appreciate it, if you could document this in pkg-message as I >> stumbled over the same issue 30minutes ago. > > > this should be normaly executed at installation time, if not, there is > an issue somewhere. this is for internal use only... that is the reason > it is not documented. > > PS: found the problem, pkg-install isn't called from the Makefile. I'll > fix this right now. sorry. Right now i am getting this in var/log/messages: Jun 29 22:11:54 satan dhcpd: Can't create new lease file: Permission denied Jun 29 23:11:53 satan kernel: pid 1315 (dhcpd), uid 1002: exited on signal 11 #satan:/usr/ports# ll /var/db/dhcpd* 4 -rw-r--r-- 1 root wheel 2583 Jun 29 15:40 /var/db/dhcpd.leases 6 -rw-r--r-- 1 root wheel 4503 Jun 29 15:15 /var/db/dhcpd.leases~ /var/db/dhcpd: total 8 2 drwxr-xr-x 2 root wheel 512 Jun 30 00:23 ./ 2 drwxr-xr-x 9 root wheel 512 Jun 29 15:15 ../ 2 -rw-r--r-- 1 root wheel 914 Jun 30 00:23 dhcpd.leases 2 -rw-r--r-- 1 root wheel 1593 Jun 30 00:23 dhcpd.leases~ I used the startup-file with the install target to install the dhcpd user and group. So it is the thase problem as reported with the Pid-file. > Cyrille Lefevre. Greets, Jonathan