<?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>4407</bug_id>
          
          <creation_ts>2013-04-24 10:36:18 +0000</creation_ts>
          <short_desc>Check if /dev/shm exists to avoid cryptic error</short_desc>
          <delta_ts>2013-10-08 13:21:50 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.5</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>1.5 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ionutx.chisanovici</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>32574</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-24 10:36:18 +0000</bug_when>
    <thetext>If /dev/shm doesn&apos;t exist (e.g. in a chroot environment) or is not writable, you&apos;ll get &quot;OSError: [Errno 38] Function not implemented&quot; or &quot;OSError: [Errno 13] Permission denied&quot; with a traceback, which doesn&apos;t really help to explain what is wrong. We should just check on startup whether this is present e.g. in sanity.bbclass, and bail out with an appropriate message if it isn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33045</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-05-10 14:14:29 +0000</bug_when>
    <thetext>Merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fd8dcd7b88925dbb8203b0d2ec6ac62fe667676c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37741</commentid>
    <comment_count>2</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-10-08 13:21:50 +0000</bug_when>
    <thetext>Verified

[ionut@ionut-fedora build]$ bitbake core-image-minimal
FATAL: /dev/shm does not exist or is not writable
[ionut@ionut-fedora build]$ cat /proc/mounts | grep shm
tmpfs /dev/shm tmpfs ro,seclabel,relatime 0 0
[ionut@ionut-fedora build]$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>