<?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>6176</bug_id>
          
          <creation_ts>2014-04-18 11:37:48 +0000</creation_ts>
          <short_desc>oprofileui-server failed to create avahi client because avahi-daemon is missing</short_desc>
          <delta_ts>2014-06-11 21:18:53 +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>BSPs</product>
          <component>bsps-oe-core</component>
          <version>unspecified</version>
          <rep_platform>x86</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>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Calianu">adrian.calianu</reporter>
          <assigned_to name="Adrian Calianu">adrian.calianu</assigned_to>
          <cc>ross.burton</cc>
    
    <cc>sgw</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>42734</commentid>
    <comment_count>0</comment_count>
      <attachid>1919</attachid>
    <who name="Adrian Calianu">adrian.calianu</who>
    <bug_when>2014-04-18 11:37:48 +0000</bug_when>
    <thetext>Created attachment 1919
proposed patch to fix runtime dependency of oprofileui-server

Adding packagegroup-core-tools-profile (IMAGE_FEATURES += &quot;tools-profile&quot;) will add oprofileui-server into final image.

It looks that the oprofileui-server is dependent on avahi and at boot time the following warning message is displayed.

&quot;
Starting OProfileUI server

** (oprofile-server:1625): WARNING **: Failed to create avahi client: Daemon not running
&quot;

The problem is found on oprofileui-server recipe which depends on avahi recipe. But avahi recipe generates more packages and one of those packages(avahi-daemon) which oprofileui-server expected to be available is not found into image.

In order to fix this issues I think the oprofileui-server should have a runtime dependency on avahi-daemon package.

Please see proposed patch attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42754</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-04-18 17:54:18 +0000</bug_when>
    <thetext>This seems to be a reasonable patch, please add a signed off and submit it to the openembedded-core@lists.openembedded.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43620</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Calianu">adrian.calianu</who>
    <bug_when>2014-05-28 15:06:44 +0000</bug_when>
    <thetext>The patch was committed: 
commit	a111ca6c811bae3d8b2114c914ba92edd7ea546b
Commit:     Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
CommitDate: Thu Apr 24 17:55:13 2014 +0100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43881</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-06-11 21:18:53 +0000</bug_when>
    <thetext>As per the previous comment, closing.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1919</attachid>
            <date>2014-04-18 11:37:48 +0000</date>
            <delta_ts>2014-04-18 11:37:48 +0000</delta_ts>
            <desc>proposed patch to fix runtime dependency of oprofileui-server</desc>
            <filename>avahi-daemon-required-by-oprofileui-server-is-missin.patch</filename>
            <type>application/octet-stream</type>
            <size>646</size>
            <attacher name="Adrian Calianu">adrian.calianu</attacher>
            
              <data encoding="base64">IG1ldGEvcmVjaXBlcy1rZXJuZWwvb3Byb2ZpbGUvb3Byb2ZpbGV1aS1zZXJ2ZXJfZ2l0LmJiIHwg
ICAgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpk
aWZmIC0tZ2l0IGEvbWV0YS9yZWNpcGVzLWtlcm5lbC9vcHJvZmlsZS9vcHJvZmlsZXVpLXNlcnZl
cl9naXQuYmIgYi9tZXRhL3JlY2lwZXMta2VybmVsL29wcm9maWxlL29wcm9maWxldWktc2VydmVy
X2dpdC5iYgppbmRleCBkYmI1NTk5Li5iZTkzMjBmIDEwMDY0NAotLS0gYS9tZXRhL3JlY2lwZXMt
a2VybmVsL29wcm9maWxlL29wcm9maWxldWktc2VydmVyX2dpdC5iYgorKysgYi9tZXRhL3JlY2lw
ZXMta2VybmVsL29wcm9maWxlL29wcm9maWxldWktc2VydmVyX2dpdC5iYgpAQCAtMTEsNyArMTEs
NyBAQCBTUkNfVVJJID0gImdpdDovL2dpdC55b2N0b3Byb2plY3Qub3JnL29wcm9maWxldWkgXAog
CiBFWFRSQV9PRUNPTkYgKz0gIi0tZGlzYWJsZS1jbGllbnQgLS1lbmFibGUtc2VydmVyIgogCi1S
REVQRU5EU18ke1BOfSA9ICJvcHJvZmlsZSIKK1JERVBFTkRTXyR7UE59ID0gIm9wcm9maWxlIGF2
YWhpLWRhZW1vbiIKIAogZG9faW5zdGFsbF9hcHBlbmQoKSB7CiAJaW5zdGFsbCAtZCAke0R9JHtz
eXNjb25mZGlyfS9pbml0LmQKCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>