<?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>14117</bug_id>
          
          <creation_ts>2020-11-06 01:48:57 +0000</creation_ts>
          <short_desc>When ifupdown ist configured for DHCP with IPv6 the system boot hangs</short_desc>
          <delta_ts>2021-09-13 05:54:19 +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>3.0.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</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>3.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon">simon_i83</reporter>
          <assigned_to name="Yi Zhao">yi.zhao</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yi.zhao</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>88570</commentid>
    <comment_count>0</comment_count>
      <attachid>4748</attachid>
    <who name="Simon">simon_i83</who>
    <bug_when>2020-11-06 01:48:57 +0000</bug_when>
    <thetext>Created attachment 4748
The patch i used to fix the problem

When dhclient is used with ifupdown and in the /etc/network/interfaces file is something like e.g. &quot;iface eth0 inet6 dhcp&quot; the system does not boot but hangs at the after dhcp configuration of IPv4 at the stage where IPv6 should be configured.

The reason seems to be, that ifupdown calls the dhclient in a blocking way which leads to a permanent block of the boot (with sysvinit) when no DHCPv6 server is available.

In the attachment you find a .bbappend and a small patch for ifupdown which calls dhclient with -1 when -6 option is used.

(A similar bug in redhat is described here: https://bugzilla.redhat.com/show_bug.cgi?id=585047)

PS: I see the problem in zeus - but it might be in any other version as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88596</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-11-12 15:36:19 +0000</bug_when>
    <thetext>Yi, Please evaluate for both master and previous releases that are supported still.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88805</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2020-12-23 01:26:30 +0000</bug_when>
    <thetext>Hi Simon,

I have tested your patch and it looks good to me. But the dhcp has been removed since Gatesgarth (3.2). And the Zeus(3.0) is EOL. Currently, the dhcpc only exists on Dunfell(3.1). Would you please rebase your patch to Dunfell and send it to the mailing list with [dunfell] tag?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91394</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2021-09-13 05:54:19 +0000</bug_when>
    <thetext>Fixed: http://cgit.openembedded.org/openembedded-core/commit/?h=dunfell&amp;id=6d8bf12bffa146cb51153a79a4b96b05298c4fbf</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4748</attachid>
            <date>2020-11-06 01:48:57 +0000</date>
            <delta_ts>2020-11-06 01:48:57 +0000</delta_ts>
            <desc>The patch i used to fix the problem</desc>
            <filename>patch.tar.gz</filename>
            <type>application/x-gzip</type>
            <size>1113</size>
            <attacher name="Simon">simon_i83</attacher>
            
              <data encoding="base64">H4sIAPwapV8AA+1Y/U/j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