<?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>4429</bug_id>
          
          <creation_ts>2013-04-29 12:16:54 +0000</creation_ts>
          <short_desc>chmod: cannot access &apos;/var/run/bind/run&apos;: No such file or directory in lsb-sdk images</short_desc>
          <delta_ts>2013-06-05 13:43:58 +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.4</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</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>32710</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-04-29 12:16:54 +0000</bug_when>
    <thetext>dylan: 789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4

1) boot a core-image-lsb-sdk (tested: qemux86-64 and jasperforest meta-intel: 6147ba0e962c3d7ba28b53b9b930f1bed5833c90 )
2) Notice message in boot log:

chmod: cannot access &apos;/var/run/bind/run&apos;: No such file or directory

Note: For the qemux86-64 image the message was also glued to the previous line compared to the Jasperforest BSP:

Starting domain name service: namedchmod: cannot access &apos;/var/run/bind/run&apos;: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33078</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-05-14 07:06:13 +0000</bug_when>
    <thetext>We use /var/run/named directory now instead of /var/run/bind/run.
I&apos;ll send out a patch to fix this.

diff --git a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
index 6fea70e..2785c6a 100644
--- a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
+++ b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
@@ -270,8 +270,8 @@ diff -urN bind-9.3.1.orig/init.d bind-9.3.1/init.d
 +      # dirs under /var/run can go away on reboots.
 +      mkdir -p /var/run/named
 +      mkdir -p /var/cache/bind
-+      chmod 775 /var/run/bind/run
-+      chown root:bind /var/run/bind/run &gt;/dev/null 2&gt;&amp;1 || true
++      chmod 775 /var/run/named
++      chown root:bind /var/run/named &gt;/dev/null 2&gt;&amp;1 || true
 +
 +      if [ ! -x /usr/sbin/named ]; then
 +          echo &quot;named binary missing - not starting&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33187</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-05-22 03:14:32 +0000</bug_when>
    <thetext>merged into poky/master: 25e90a44b6870953021b485eee738ebb2ff04977

http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=a32c05f691ef5620516b2f84452fb5129e16bb14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33619</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-06-05 13:43:58 +0000</bug_when>
    <thetext>Verified in master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6

Please note this bug was posted on the already separated from master dylan branch. Merging this in master does not fix it in dylan branch.

As per bug handling procedure, I will reopen on 1.4.1 when and if necessary.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>