dhcpd-4.3.6 works only when launched with -f or -d flag

Bill Shirley bill at c3po.polymerindustries.biz
Sat Mar 2 12:16:30 UTC 2019


So how are you starting dhcpd *as a daemon*.  Systemd?

What does the command line look like?
[0:root at bb8 ~]$ ps aux | grep dhcpd
root     20586  0.0  0.0 119524  1004 pts/3    S+ 06:14   0:00 grep --color=auto dhcpd
dhcpd    22665  0.0  0.0 139796 26832 ?        Ss Feb27   0:13 /usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group 
dhcpd --no-pid
dhcpd    31924  0.0  0.0 141492 28936 ?        Ss Feb13   0:24 /usr/sbin/dhcpd -f -6 -cf /etc/dhcp/dhcpd6.conf -user dhcpd 
-group dhcpd --no-pid


Bill

On 3/1/2019 1:10 AM, m.madej at xtrack.pl wrote:
>
> Hello
>
> I try to run dhcpd on my wifi network. I build it using Yocto and here are a versions of my built system:
>
> kernel: 4.14
>
> dhcpd: 4.3.6
>
> bind: 9.10.6-r0
>
> everything is running on cortex a5 core (sama5d27 processor)
>
> When i run dhcpd manually with -d or -f option (debug or foreground) everything seems to work fine. But when dhcpd is started 
> as daemon it does not work at all.
>
> I run strace and it seems it hangs on: "futex(0xb6913098, FUTEX_WAIT_PRIVATE, 0, NULL"
>
> I found a bug with similar behaviour here https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1551855 but as i understand 
> it should be fixed in version i use.
>
> Does someone have any idea?
>
> Thanks in advance
>
> Regards
> Mariusz Madej
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190302/2baa2053/attachment-0001.html>


More information about the dhcp-users mailing list