Bug 12744

Summary: ISC DHCP doesn't work with bind 9.10
Product: [Runtime] General Runtime Reporter: Wolfgang Tolkien <w>
Component: General RuntimeAssignee: Armin Kuster <akuster>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, richard.purdie
Version: 2.5   
Target Milestone: 2.5.2   
Hardware: All   
OS: Multiple   
Whiteboard: backport 2.4.4 and 2.5.2
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
.bbappend to circumvent this problem w: copyright-waived+

Description Wolfgang Tolkien 2018-05-10 22:11:11 UTC
There is a known issue when using ISC DHCP alongside bind 9.10. DHCP uses libraries provided by bind and there is a bug which results in dhcpd/dhclient not running in the background and not responding to sigterm. 

The issue was first reported in 02/2015 by the fedora team here:

https://lists.isc.org/pipermail/bind-users/2015-February/094636.html

and as of 02/2018 it is still unresolved:

https://bugzilla.redhat.com/show_bug.cgi?id=1457871

Fedora's workaround seems to consist of providing working libraries from the bind 9.9 package just for DHCP. I'm running into the same issue with Yocto 2.4.3 and 2.5, and earlier versions are probably affected as well. 

Is there a recommended Yocto workaround?
Comment 1 Wolfgang Tolkien 2018-05-17 10:02:40 UTC
Created attachment 4304 [details]
.bbappend to circumvent this problem

Just FYI, I'm currently using the attached bbappend file to circumvent the problem. It's not perfect since it requires turning off parallel make and the libraries are being compiled in the ${S}/bind directory, but it works for now.
Comment 2 Armin Kuster 2018-05-17 17:07:44 UTC
(In reply to comment #1)
> Created attachment 4304 [details]
> .bbappend to circumvent this problem
> 
> Just FYI, I'm currently using the attached bbappend file to circumvent the
> problem. It's not perfect since it requires turning off parallel make and
> the libraries are being compiled in the ${S}/bind directory, but it works
> for now.

thanks. that gives me some ideas.
Comment 3 Richard Purdie 2018-07-19 15:17:55 UTC
Addressed in master but needs consideration for sumo and stable branches so leave with Armin:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e9f8826681b02f3fe1417e15f554ba1fa62a2d12
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c026c365eb66dc85e6eee3fa477222c4da3a0ca8
Comment 4 Armin Kuster 2018-11-13 21:49:20 UTC
A workaround patch sent
https://patchwork.openembedded.org/patch/156256/
Comment 6 Armin Kuster 2018-12-20 16:10:08 UTC
in sumo
Comment 7 Armin Kuster 2018-12-20 16:10:34 UTC
closing