<?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>5809</bug_id>
          
          <creation_ts>2014-02-10 22:12:08 +0000</creation_ts>
          <short_desc>udev-cache: device nodes created with wrong major/minor number</short_desc>
          <delta_ts>2014-02-13 15:52:09 +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.2</version>
          <rep_platform>Crownbay</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marc Ferland">marc.ferland</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>40278</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Ferland">marc.ferland</who>
    <bug_when>2014-02-10 22:12:08 +0000</bug_when>
    <thetext>I recently enabled udev-cache for some of my images (dylan 1.4.3).

These images all include multiple modules that are loaded at boot time (some of them are loaded with modules_autoload statements from my machine conf file).

Some time after enabling udev-cache, we discovered that from time to time some device nodes were created with the wrong major number, as if the device node itself had been overwritten. I&apos;m guessing that this could come from the udev-cache script blindly replacing the content of /dev even if some nodes are already present.

Manually recreating the device node fixes the issue.

I&apos;m not sure if this is an actual bug or just a current limitation of udev-cache when working with modules...

My first guess for a fix would be to not overwrite files in /dev or be more conservative as to what the dev.tar file contains.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40345</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-02-13 15:52:09 +0000</bug_when>
    <thetext>The design of udev-cache has limitations and in the circumstances you describe there is probably not a lot you can do but to disable it.

I&apos;m wondering if we should just remove the thing entirely. There is nothing we can do to fix the underlying design though so I&apos;m marking this bug as such (effectively CANTFIX).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>