<?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>12843</bug_id>
          
          <creation_ts>2018-07-03 17:24:26 +0000</creation_ts>
          <short_desc>mdns resolution don&apos;t work properly</short_desc>
          <delta_ts>2018-09-26 10:49:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>2.5.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>betacentauri</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>openatv</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>81009</commentid>
    <comment_count>0</comment_count>
      <attachid>4341</attachid>
    <who name="">betacentauri</who>
    <bug_when>2018-07-03 17:24:26 +0000</bug_when>
    <thetext>Created attachment 4341
Patch file for libnss-mdns_0.10

Pinging own .local address don&apos;t work:

root@e4hd:~# ping e4hd.local
ping: bad address &apos;e4hd.local&apos;

Problem is that avahi creates in version 0.7 the socket in /run/avahi-daemon
https://github.com/lathiat/avahi/blob/master/configure.ac#L987

libnss-mdns searches the socket in the old path: /var/run/avahi-daemon/
src/Makefile.am and src/Makefile.in
       -DAVAHI_SOCKET=\&quot;$(localstatedir)/run/avahi-daemon/socket\&quot;

Attached patch patches libnss-mdns sources to new directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81018</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-07-05 14:58:46 +0000</bug_when>
    <thetext>For master and sumo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81019</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-07-05 15:08:00 +0000</bug_when>
    <thetext>Probably easier to just set localstatdir=&quot;/&quot;?

Patches are submitted via the mailing list, if you could prepare a patch to the recipe and submit it to openembedded-core@lists.openembedded.org (via git-send-email, please) then we can review and merge it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81021</commentid>
    <comment_count>3</comment_count>
    <who name="">betacentauri</who>
    <bug_when>2018-07-05 17:15:57 +0000</bug_when>
    <thetext>Yes, localstatedir=&quot;/&quot; is easier.
I have send the patch to the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81624</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-09-26 10:49:24 +0000</bug_when>
    <thetext>Merged in oe-core 4feb586ba9fa0255d8f83bc1bec11f697dc26a33.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4341</attachid>
            <date>2018-07-03 17:24:26 +0000</date>
            <delta_ts>2018-07-03 17:24:26 +0000</delta_ts>
            <desc>Patch file for libnss-mdns_0.10</desc>
            <filename>change_avahi_socket_path.patch</filename>
            <type>text/plain</type>
            <size>1213</size>
            <attacher>betacentauri</attacher>
            
              <data encoding="base64">SW5kZXg6IG5zcy1tZG5zLTAuMTAvc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ODYvZ2NjIG9ubHkKIEFNX0NGTEFH
UyA9IC1ETUROU19BTExPV19GSUxFPVwiJChzeXNjb25mZGlyKS9tZG5zLmFsbG93XCIgXAogCS1E
UkVTT0xWX0NPTkZfRklMRT1cIiQoc3lzY29uZmRpcikvcmVzb2x2LmNvbmZcIiBcCi0JLURBVkFI
SV9TT0NLRVQ9XCIkKGxvY2Fsc3RhdGVkaXIpL3J1bi9hdmFoaS1kYWVtb24vc29ja2V0XCIgXAor
CS1EQVZBSElfU09DS0VUPVwiL3J1bi9hdmFoaS1kYWVtb24vc29ja2V0XCIgXAogCSctRERFQlVH
X1RSQVA9X19hc21fXygiaW50ICQkMyIpJwogQU1fTERGTEFHUyA9IC1hdm9pZC12ZXJzaW9uIC1t
b2R1bGUgLWV4cG9ydC1keW5hbWljCiBsaWJfTFRMSUJSQVJJRVMgPSAkKGFtX19hcHBlbmRfMSkg
JChhbV9fYXBwZW5kXzIpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>