<?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>4374</bug_id>
          
          <creation_ts>2013-04-22 09:23:56 +0000</creation_ts>
          <short_desc>SERIAL_CONSOLES creates entries in inittab which do not have a unique ID</short_desc>
          <delta_ts>2013-05-03 10:05:45 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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="John Toomey">john.toomey</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>32437</commentid>
    <comment_count>0</comment_count>
    <who name="John Toomey">john.toomey</who>
    <bug_when>2013-04-22 09:23:56 +0000</bug_when>
    <thetext>The following patch allows the use of SERIAL_CONSOLES to create multiple getty sessions on different serial ports: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7dec9be56bed73bbd8cbc42360620c64f1fed882

The inittab IDs used by the patch are not unique because the same IDs are used elsewhere in the poky/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb recipe:

        for n in ${SYSVINIT_ENABLED_GETTYS}
        do
            echo &quot;$n:2345:respawn:${base_sbindir}/getty 38400 tty$n&quot; &gt;&gt; ${D}${sysconfdir}/inittab
        done
        echo &quot;&quot; &gt;&gt; ${D}${sysconfdir}/inittab

This results in myltiple lines in the inittab having the same ID which will cause a conflict.

I suggest that the patch be modified to use the IDs S0,S1,..,SN rather than 1,2,..,N as it is currently. 

echo &quot;S${idx}:2345:respawn:${base_sbindir}/getty ${j}&quot; &gt;&gt; ${D}${sysconfdir}/inittab</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32467</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-22 13:53:14 +0000</bug_when>
    <thetext>Reassign to Paul since I think he&apos;s been talking to John...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32866</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-05-03 10:05:45 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b4aa6d3886977e660e5391b0f2e0484928d5baaf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>