<?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>14836</bug_id>
          
          <creation_ts>2022-06-10 17:48:19 +0000</creation_ts>
          <short_desc>Resolvconf missing normalize-resolvconf file since it is moved to a separate file since version 1.90</short_desc>
          <delta_ts>2022-10-13 15:53:03 +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>connectivity</component>
          <version>4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qorin">qorin.qorinna</reporter>
          <assigned_to name="Qorin">qorin.qorinna</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>pokylinux</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>93497</commentid>
    <comment_count>0</comment_count>
      <attachid>4883</attachid>
    <who name="Qorin">qorin.qorinna</who>
    <bug_when>2022-06-10 17:48:19 +0000</bug_when>
    <thetext>Created attachment 4883
patch to fix the resolvconf issue

After upgrading to kirkstone resolvconf is not working properly.

In /var/log/boot or when /etc/init.d/networking is called this error message appears &quot;/sbin/resolvconf: line 173: /lib/resolvconf/normalize-resolvconf: No such file or directory&quot; 

According to https://launchpad.net/debian/+source/resolvconf/+changelog the normalization script is moved to normalize-resolvconf. However, this file is not included in the resolvconf_1.91.bb recipe.

I have added the patch to fix the recipe in the attachment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93537</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-06-16 15:51:37 +0000</bug_when>
    <thetext>Hi Qorin,

Can you send that patch to the mailing list for review?  bugzilla is just for bugs, not patches.

The long version of the documentation is at https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but the short version is just `git send-email --to openembedded-core@lists.openembedded.org -1 HEAD`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93552</commentid>
    <comment_count>2</comment_count>
    <who name="Qorin">qorin.qorinna</who>
    <bug_when>2022-06-20 08:10:12 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hi Qorin,
&gt; 
&gt; Can you send that patch to the mailing list for review?  bugzilla is just
&gt; for bugs, not patches.
&gt; 
&gt; The long version of the documentation is at
&gt; https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but
&gt; the short version is just `git send-email --to
&gt; openembedded-core@lists.openembedded.org -1 HEAD`.

done!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93553</commentid>
    <comment_count>3</comment_count>
    <who name="Qorin">qorin.qorinna</who>
    <bug_when>2022-06-20 08:12:12 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hi Qorin,
&gt; 
&gt; Can you send that patch to the mailing list for review?  bugzilla is just
&gt; for bugs, not patches.
&gt; 
&gt; The long version of the documentation is at
&gt; https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but
&gt; the short version is just `git send-email --to
&gt; openembedded-core@lists.openembedded.org -1 HEAD`.

done!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93555</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-06-20 11:14:21 +0000</bug_when>
    <thetext>Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94149</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2022-10-13 15:42:05 +0000</bug_when>
    <thetext>This is still not upstream and resolvconf does not seem to work without it.

The patch I am currently using on langdale/master is:

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
index 94fd2c1a70..dba58ad2d6 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
@@ -25,6 +25,10 @@ UPSTREAM_CHECK_URI = &quot;${DEBIAN_MIRROR}/main/r/resolvconf/&quot;
 
 inherit allarch
 
+# The normalize-resolvconf sed script uses /bin/sed on the shebang line.
+# Ignore the file-rdeps test to avoid having to add a runtime dependency on sed.
+INSANE_SKIP:${PN} += &quot;file-rdeps&quot;
+
 do_compile () {
        :
 }
@@ -46,6 +50,7 @@ do_install () {
        chown -R root:root ${D}${sysconfdir}/
        install -m 0755 bin/resolvconf ${D}${base_sbindir}/
        install -m 0755 bin/list-records ${D}${base_libdir}/${BPN}
+       install -m 0755 bin/normalize-resolvconf ${D}${base_libdir}/${BPN}
        install -d ${D}/${sysconfdir}/network/if-up.d
        install -m 0755 debian/resolvconf.000resolvconf.if-up ${D}/${sysconfdir}/network/if-up.d/000resolvconf
        install -d ${D}/${sysconfdir}/network/if-down.d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94150</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-13 15:48:10 +0000</bug_when>
    <thetext>Not sure how that got missed.  I&apos;ve pulled it into a staging branch and we&apos;ll test it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4883</attachid>
            <date>2022-06-10 17:48:19 +0000</date>
            <delta_ts>2022-06-10 17:48:19 +0000</delta_ts>
            <desc>patch to fix the resolvconf issue</desc>
            <filename>0001-add-missing-normalize-resolvconf-file-since-it-has-b.patch</filename>
            <type>text/plain</type>
            <size>1521</size>
            <attacher name="Qorin">qorin.qorinna</attacher>
            
              <data encoding="base64">RnJvbSA3ZTljZGY1ZjQ0OTE5NDRhOWQwOTU4ZDQyYWE3OTY1N2RhMzdmNTg0IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBRb3JpbiA8cW9yaW4ucW9yaW5uYUBubC5hYmIuY29tPgpEYXRl
OiBGcmksIDEwIEp1biAyMDIyIDE4OjE0OjE4ICswMjAwClN1YmplY3Q6IFtQQVRDSF0gYWRkIG1p
c3Npbmcgbm9ybWFsaXplLXJlc29sdmNvbmYgZmlsZSBzaW5jZSBpdCBoYXMgYmVlbiBtb3ZlZAog
dG8gYSBzZXBhcmF0ZSBmaWxlIHNpbmNlIHZlcnNpb24gMS45MAoKLS0tCiBtZXRhL3JlY2lwZXMt
Y29ubmVjdGl2aXR5L3Jlc29sdmNvbmYvcmVzb2x2Y29uZl8xLjkxLmJiIHwgMyArKy0KIDEgZmls
ZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9t
ZXRhL3JlY2lwZXMtY29ubmVjdGl2aXR5L3Jlc29sdmNvbmYvcmVzb2x2Y29uZl8xLjkxLmJiIGIv
bWV0YS9yZWNpcGVzLWNvbm5lY3Rpdml0eS9yZXNvbHZjb25mL3Jlc29sdmNvbmZfMS45MS5iYgpp
bmRleCA5NGZkMmMxYTcwLi5kMmQ5OTczODUyIDEwMDY0NAotLS0gYS9tZXRhL3JlY2lwZXMtY29u
bmVjdGl2aXR5L3Jlc29sdmNvbm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