<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12744</bug_id>
          
          <creation_ts>2018-05-10 22:11:11 +0000</creation_ts>
          <short_desc>ISC DHCP doesn&apos;t work with bind 9.10</short_desc>
          <delta_ts>2018-12-20 16:10:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>2.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>backport 2.4.4 and 2.5.2</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wolfgang Tolkien">w</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80564</commentid>
    <comment_count>0</comment_count>
    <who name="Wolfgang Tolkien">w</who>
    <bug_when>2018-05-10 22:11:11 +0000</bug_when>
    <thetext>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&apos;s workaround seems to consist of providing working libraries from the bind 9.9 package just for DHCP. I&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80610</commentid>
    <comment_count>1</comment_count>
      <attachid>4304</attachid>
    <who name="Wolfgang Tolkien">w</who>
    <bug_when>2018-05-17 10:02:40 +0000</bug_when>
    <thetext>Created attachment 4304
.bbappend to circumvent this problem

Just FYI, I&apos;m currently using the attached bbappend file to circumvent the problem. It&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80614</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-05-17 17:07:44 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created attachment 4304 [details]
&gt; .bbappend to circumvent this problem
&gt; 
&gt; Just FYI, I&apos;m currently using the attached bbappend file to circumvent the
&gt; problem. It&apos;s not perfect since it requires turning off parallel make and
&gt; the libraries are being compiled in the ${S}/bind directory, but it works
&gt; for now.

thanks. that gives me some ideas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81147</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-07-19 15:17:55 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82210</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-13 21:49:20 +0000</bug_when>
    <thetext>A workaround patch sent
https://patchwork.openembedded.org/patch/156256/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82330</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-27 14:53:47 +0000</bug_when>
    <thetext>merged to sumo proper.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=sumo&amp;id=4f454cdca350f15fe5f99210d8b0a3c7b54b4775</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82551</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-12-20 16:10:08 +0000</bug_when>
    <thetext>in sumo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82552</commentid>
    <comment_count>7</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-12-20 16:10:34 +0000</bug_when>
    <thetext>closing</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4304</attachid>
            <date>2018-05-17 10:02:40 +0000</date>
            <delta_ts>2018-05-17 10:02:40 +0000</delta_ts>
            <desc>.bbappend to circumvent this problem</desc>
            <filename>dhcp_%.bbappend</filename>
            <type>text/plain</type>
            <size>757</size>
            <attacher name="Wolfgang Tolkien">w</attacher>
            
              <data encoding="base64">IyB1c2UgaW50ZXJuYWwgbGliaXNjIGxpYnJhcmllcyB3aGljaCBhcmUgYmFzZWQgb24gYmluZCA5
LjkuMTEgLSB0aGVyZQojIGlzIGEgYnVnIGluIGJpbmQgOS4xMC54IChub3JtYWxseSBzdXBwbGll
ZCBieSBZb2N0bykgdGhhdCBwcmV2ZW50cwojIGRoY3BkL2RoY2xpZW50IGZyb20gc2h1dHRpbmcg
ZG93biBjbGVhbmx5IG9uIHNpZ3Rlcm0gYW5kIGZyb20gcnVubmluZwojIGluIHRoZSBiYWNrZ3Jv
dW5kCiMKIyBbaHR0cHM6Ly9idWd6aWxsYS55b2N0b3Byb2plY3Qub3JnL3Nob3dfYnVnLmNnaT9p
ZD0xMjc0NF0KIwojIFRoaXMgd29ya2Fyb3VuZCBpc24ndCBwZXJmZWN0OiB0aGUgYmluZCA5Ljku
MTEgbGlicmFyaWVzIHdpbGwgYmUgYnVpbGQKIyBpbiAke1N9L2JpbmQgcmF0aGVyIHRoYW4gdGhl
IGJ1aWxkIGRpcmVjdG9yeS4gQnV0IGl0IHNlZW1zIHRvIHdvcmsgZm9yIG5vdy4KRVhUUkFfT0VD
T05GICs9ICIgXAogICAgLS13aXRob3V0LWxpYmJpbmQgXAoJIgoKU1JDX1VSSV9yZW1vdmUgPSAi
IFwKICAgIGZpbGU6Ly8wMDA4LXR3ZWFrLXRvLXN1cHBvcnQtZXh0ZXJuYWwtYmluZC5wYXRjaCBc
CiAgICAiCgojIHByZXZlbnQgcGFyYWxsZWwgbWFrZSBiZWNhdXNlIHdlIG5lZWQgdGhvc2UgbGli
cmFyaWVzIHRvIGJlIGJ1aWxkIGZpcnN0Li4uClBBUkFMTEVMX01BS0UgPSAiLWogMSIKCiMgdGhp
cyBtZWFucyB3ZSBubyBsb25nZXIgZGVwZW5kIG9uIHRoZSBleHRlcm5hbCBiaW5kCkRFUEVORFNf
cmVtb3ZlID0gImJpbmQiCg==
</data>
<flag name="copyright-waived"
          id="9"
          type_id="2"
          status="+"
          setter="w"
    />
          </attachment>
      

    </bug>

</bugzilla>