FreeBSD Port: isc-dhcp3-server-3.0.1.r14
Jonathan Weiss
tomonage2 at gmx.de
Tue Jun 29 16:39:59 PDT 2004
> "Jonathan Weiss" <tomonage2 at gmx.de> 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
More information about the freebsd-ports
mailing list