<?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>14949</bug_id>
          
          <creation_ts>2022-10-25 15:57:16 +0000</creation_ts>
          <short_desc>Solve systemd/usrmerge issues</short_desc>
          <delta_ts>2023-01-18 16:33:04 +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>4.1</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>4.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>94243</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-25 15:57:16 +0000</bug_when>
    <thetext>A future systemd release will make non-/usr-merged systems incompatible with systemd:

https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html

In theory, we can just make the systemd recipe require the usrmerge DISTRO_FEATURE and we&apos;re done.

However, there are reports that systemd+usrmerge don&apos;t actually pass our QA.

There&apos;s a hunch that this is just hardcoded paths in tests, but this hasn&apos;t been verified.  We should also be able to run oe-selftest in this environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94244</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-25 17:02:34 +0000</bug_when>
    <thetext>So far, dnf.DnfRepoTest.test_dnf_installroot_usrmerge is failing. This is most likely a test case issue, not a fundamental problem with usrmerge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94306</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-10-28 15:00:55 +0000</bug_when>
    <thetext>For anyone looking for it, in the &quot;Announcements of Future Feature Removals&quot; section of the draft systemd-252 release notes:

* We intend to remove support for split-usr (/usr mounted separately
      during boot) and unmerged-usr (parallel directories /bin and
      /usr/bin, /lib and /usr/lib, etc). This will happen in the second
      half of 2023, in the first release that falls into that time window.
      For more details, see:
      https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html


https://github.com/systemd/systemd/releases/tag/v252-rc3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94307</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-28 15:13:32 +0000</bug_when>
    <thetext>So far in my testing the problems are 1) dnf (this was a bug in the test, it&apos;s just broken) and 2) overlayfs (probably a bad assumption in the test too).

Apart from that I think we&apos;re good to make systemd depend on usrmerge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94322</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-11-01 16:29:52 +0000</bug_when>
    <thetext>Patches sent to solve the dnf testimage failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94751</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-01-18 16:33:04 +0000</bug_when>
    <thetext>Tests fixed in bb6ebb9956a42df3ed8681aec9aedf340b12f934.

I think this is done.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>