<?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>9529</bug_id>
          
          <creation_ts>2016-04-27 15:32:29 +0000</creation_ts>
          <short_desc>sysvinit: inittab labels for consoles need to be restricted to 4 characters</short_desc>
          <delta_ts>2016-05-11 14:56:35 +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>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=9440</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sascha Silbe">silbe</reporter>
          <assigned_to name="Stephano Cetola">stephano</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61731</commentid>
    <comment_count>0</comment_count>
    <who name="Sascha Silbe">silbe</who>
    <bug_when>2016-04-27 15:32:29 +0000</bug_when>
    <thetext>For some machines, the device node names of TTYs used as console may exceed 4 characters, even after removing the &quot;tty&quot; part (if any). E.g. /dev/ttysclp0 and /dev/sclp_line0 on s390x.

The sysvinit recipe uses the console device name to generate the label for the corresponding getty line in the inittab. It removes the leading &quot;tty&quot; from the device name, but no further processing happened so far. That&apos;s good enough for short device names like ttyS0, but will break for long device names as sysvinit only allows up to 4 characters for the label.

The label should be abbreviated/truncated to 4 characters to avoid this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62104</commentid>
    <comment_count>1</comment_count>
    <who name="Sascha Silbe">silbe</who>
    <bug_when>2016-05-11 14:56:35 +0000</bug_when>
    <thetext>Current git master (including the fix) works like a charm, thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>