On 2014/02/14 10:01, Marcus MERIGHI wrote: > [email protected] (Renaud Allard), 2014.02.14 (Fri) 09:12 (CET): > > Hello, > > > > I have configured dhcpd to fill pf tables with the leases given by starting > > it with "-A dhcp_leases -C dhcp_leases -L dhcp_leases" > > This went OK for some time, then at some point I tried to restart dhcpd with > > "/etc/rc.d/dhcpd restart" and got: > > Feb 14 08:40:01 pippin dhcpd[24771]: Can't find free bpf: No such file or > > directory > > > > Then I noticed many of those still running: > > _dhcp 28376 0.0 0.0 1052 932 ?? I 6Feb14 0:00.02 dhcpd: pf > > table handler (dhcpd) > > > > After killing them (or creating bpfs) I was able to restart dhcpd. > > > > So for some reason, dhcpd is not killing all its children when dying. > > > > This is on OpenBSD 5.4 amd64 with all errata patches applied > > For the records: a known one: > http://marc.info/?l=openbsd-misc&m=134558065817431 > http://marc.info/?l=openbsd-tech&m=135409469600527 > > Bye, Marcus >
Yes, long-standing bug, but I think the diff in those posts is wrong, in my opinion the bug is in dhcpd not the rc script.
