<?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>1146</bug_id>
          
          <creation_ts>2011-06-07 01:52:33 +0000</creation_ts>
          <short_desc>udevd daemon doesn&apos;t exist since second boot</short_desc>
          <delta_ts>2011-06-16 23:04:43 +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>unspecified</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.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dongxiao Xu">dongxiao.xu</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</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>14199</commentid>
    <comment_count>0</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-06-07 01:52:33 +0000</bug_when>
    <thetext>On the first time of system boot, udevd does exist, and it could be shown in &quot;ps ax | grep udevd&quot;. However since the second boot, the daemon no longer exists, which will have problems for creating the /dev/ nodes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14200</commentid>
    <comment_count>1</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-06-07 01:54:53 +0000</bug_when>
    <thetext>Root cause is the udev script, where it has a piece of code:

if [ -e /etc/dev.tar ]; then
        (cd /; tar xf /etc/dev.tar 2&gt;&amp;1 | grep -v &apos;time stamp&apos;)
        not_first_boot=1
fi


The grep command will return 1 if not found the &quot;time stamp&quot;, which cause the udevd start failure.

I will commit a patch to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14223</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-06-08 11:03:51 +0000</bug_when>
    <thetext>Holger Freyther &lt;holger@...&gt; writes:

&gt; &gt; #!/bin/sh -e
&gt; &gt; ...
&gt; &gt; if [ -e /etc/dev.tar ]; then 
&gt; &gt;         (cd /; tar xf /etc/dev.tar 2&gt;&amp;1 | grep -v &apos;time stamp&apos;)
&gt; &gt;         not_first_boot=1
&gt; &gt; fi
Okay, it is efce51ec11cc2a908833e80b65d2f5db81bb2fec which only works
if the time is broken... I assume one wants to add an || true or such to the
command.

_______________________________________________
poky mailing list
poky@yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14244</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-06-09 19:06:34 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4d9b298c33bb098f0548751c5162da4db80d1317</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14331</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-06-16 23:04:43 +0000</bug_when>
    <thetext>Verified it with 20110613 build

Image location:
http://autobuilder.yoctoproject.org/nightly/20110613-1/
Tree/Branch: Poky/master
Commit: e5f3cc34df74c08c8cab3e1cf9207fafaec6cb9a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>