<?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>13141</bug_id>
          
          <creation_ts>2019-01-15 01:08:06 +0000</creation_ts>
          <short_desc>Systemd ROOT_HOME patch broken</short_desc>
          <delta_ts>2022-10-13 14:48:40 +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>2.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-François Dagenais">jeff.dagenais</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>akuster</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</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>82795</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-François Dagenais">jeff.dagenais</who>
    <bug_when>2019-01-15 01:08:06 +0000</bug_when>
    <thetext>Basically, the patch (named 0005-Make-root-s-home-directory-configurable.patch in thud) deteriorated over the various systemd uprevs to the point it no longer does what it was meant to do. It merely adds a define through the meson build system but the code doesn&apos;t actually uses it.

Preconditions/Environment
-------------------------
systemd in DISTRO_FEATURES

Triggering Action/Cause
-----------------------
Various, basically ROOT_HOME (defined in bitbake.conf) no longer makes it into systemd&apos;s binaries.

Expectation
-----------
Systemd should use &quot;/home/root&quot; (or the value of ROOT_HOME) instead of &quot;/root&quot; 

Actual Result
-------------
&quot;/root&quot; is hard-coded for root&apos;s home dir.

Reproducibility
---------------
1/1


Refer to thread: https://lists.yoctoproject.org/pipermail/poky/2019-January/011614.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82800</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-01-15 15:53:31 +0000</bug_when>
    <thetext>do we see this in Master?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82801</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-01-15 15:56:41 +0000</bug_when>
    <thetext>Yes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94146</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-13 14:48:40 +0000</bug_when>
    <thetext>This patch was dropped in dunfell.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>