<?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>2535</bug_id>
          
          <creation_ts>2012-06-04 08:14:58 +0000</creation_ts>
          <short_desc>syslog is not started by default in background on bsps(Crownbay,N450 etc)</short_desc>
          <delta_ts>2012-07-19 04:28:47 +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>core</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(p2)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yilong, sun">yilongx.y.sun</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>gary</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>sanil.kumar</cc>
    
    <cc>song.liu</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>veerabrahmamvr</cc>
    
    <cc>venkatarg</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21809</commentid>
    <comment_count>0</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-06-04 08:14:58 +0000</bug_when>
    <thetext>With 0531 build, syslog is not started by default in background on bsps(Crownbay,N450 etc). when i try to start it with &quot;/etc/init.d/syslog start&quot;,
the message&quot;applet not found&quot; was reported. we may find that this file &quot;/etc/syslog-startup.conf&quot; is linked to the binary file &quot;busybox&quot;

Testing environment: take Crownbay as a example   
Hardware: Crownbay
tree/branch:Poky/master
commit: 348da93e283b2b8454fd9cde80d4b17378e2a168
tree/branch:meta-intel/master
commit: c05129498c4f3b1757ce0ee195d6ff1d3f71c5d5

Images location:http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20120531-1/machines/crownbay/core-image-sato-sdk-crownbay.hddimg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21930</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-08 15:56:15 +0000</bug_when>
    <thetext>Which image was being tested? minimal? sato? base? sdk? All the above?

meta-intel doesn&apos;t modify busybox.

What do you mean by &apos;we may find that this file &quot;/etc/syslog-startup.conf&quot; is linked to the binary file &quot;busybox&quot;&apos; ?

I imagine this is somehow associated with (not caused by):

commit 3ba7426bbf6be7a708c22d573513a4fd6a3c90d0
Author: Joshua Lock &lt;josh@linux.intel.com&gt;
Date:   Wed Jan 11 11:06:19 2012 -0800

    busybox: enable dropping of duplicates in syslog, off by default</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21931</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-06-08 15:59:06 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Which image was being tested? minimal? sato? base? sdk? All the above?
&gt; meta-intel doesn&apos;t modify busybox.

What do you mean by &apos;we may find that
&gt; this file &quot;/etc/syslog-startup.conf&quot; is linked to the binary file &quot;busybox&quot;&apos;
&gt; ?

I imagine this is somehow associated with (not caused by):

commit
&gt; 3ba7426bbf6be7a708c22d573513a4fd6a3c90d0
Author: Joshua Lock
&gt; &lt;josh@linux.intel.com&gt;
Date:   Wed Jan 11 11:06:19 2012 -0800

    busybox:
&gt; enable dropping of duplicates in syslog, off by default

We tested sato-sdk images. For syslog, we should be able to change some options like log message file via &quot;/etc/syslog-startup.conf&quot;. But in latest builds, it is linked to busybox, which is just a binary file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21934</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-08 16:11:57 +0000</bug_when>
    <thetext>Aha, that makes more sense now. This is a bug in the busybox recipe, probably the busybox.links mechanism being greedy and matching syslog-startup.conf when it should not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21983</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-06-11 08:13:40 +0000</bug_when>
    <thetext>This issue happens on all qemu sato, sato-sdk images and BSPs with master branch df8f55a919b3cc602ce1f1c51630c7edf6e36b55</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22256</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-06-17 12:43:15 +0000</bug_when>
    <thetext>*** Bug 2557 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22258</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-06-17 15:25:33 +0000</bug_when>
    <thetext>A patch for this issue was created and sent to the oe-core mailing list and tagged with bug number 2557.


diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index db337ad..a9a58e2 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -214,6 +214,7 @@ ALTERNATIVE_LINK_NAME[syslog-init] = &quot;${sysconfdir}/init.d/syslog&quot;
 ALTERNATIVE_LINK_NAME[syslog-startup-conf] = &quot;${sysconfdir}/syslog-startup.conf&quot;
 
 ALTERNATIVE_TARGET = &quot;/bin/busybox&quot;
+ALTERNATIVE_TARGET[syslog-startup-conf] = &quot;${sysconfdir}/syslog-startup.conf.${BPN}&quot;
 
 python do_package_prepend () {
 	# We need to load the full set of busybox provides from the /etc/busybox.links
diff --git a/meta/recipes-core/busybox/busybox_1.19.4.bb b/meta/recipes-core/busybox/busybox_1.19.4.bb
index 0717075..5b3f356 100644
--- a/meta/recipes-core/busybox/busybox_1.19.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.19.4.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = &quot;r6&quot;
+PR = &quot;r7&quot;
 
 SRC_URI = &quot;http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://B921600.patch \</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22444</commentid>
    <comment_count>7</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-06-20 22:07:52 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c16eddd1d954284e905f265076c0258cca923fe2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22528</commentid>
    <comment_count>8</comment_count>
    <who name="sanil">sanil.kumar</who>
    <bug_when>2012-06-25 05:41:11 +0000</bug_when>
    <thetext>On qemux86-sato, qemux86-sato-sdk, qemux86_64-sato and qemux86_64-sato-sdk, this issue has been reproduced on the build -  http://autobuilder.yoctoproject.org/pub/nightly/20120621-3/

syslogd is not started by-default after boot up. Manually can start.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23077</commentid>
    <comment_count>9</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-13 00:36:02 +0000</bug_when>
    <thetext>I just tried to recreate this bug and found that syslogd was running on a qemux86 sato image I build, can you please confirm with M2 rc1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23141</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-17 03:29:04 +0000</bug_when>
    <thetext>Sanil, can you please confirm this with a current build, it&apos;s very possible that Mark&apos;s patch was not yet in the build you tested (unless you can verify it was there).  I think you did not have that patch yet.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23145</commentid>
    <comment_count>11</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-17 04:38:32 +0000</bug_when>
    <thetext>syslogd can run on Huronriver,Crownbay and jasperForest platform correctly. 
i will close this bug if it is normal on others platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23146</commentid>
    <comment_count>12</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-17 04:39:36 +0000</bug_when>
    <thetext>it is on 1.3M2 rc1 branch of poky tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23148</commentid>
    <comment_count>13</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-17 04:58:48 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; syslogd can run on Huronriver,Crownbay and jasperForest platform correctly. 
&gt; i will close this bug if it is normal on others platform.

syslogd performs well on Sugarbay with latest poky-master branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23155</commentid>
    <comment_count>14</comment_count>
    <who name="veera">veerabrahmamvr</who>
    <bug_when>2012-07-17 06:44:29 +0000</bug_when>
    <thetext>
We are verifie the Fix on http://autobuilder.yoctoproject.org/pub/nightly/20120711-2/  build for qemu X86 , x86_64 , arm . (TC-2858)
Its working fine.
We can close it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23157</commentid>
    <comment_count>15</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-17 08:22:51 +0000</bug_when>
    <thetext>fixed and verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23236</commentid>
    <comment_count>16</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-19 04:28:02 +0000</bug_when>
    <thetext>it has been resolved and verified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23237</commentid>
    <comment_count>17</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-19 04:28:47 +0000</bug_when>
    <thetext>fixed and verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>