<?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>14026</bug_id>
          
          <creation_ts>2020-08-27 09:43:47 +0000</creation_ts>
          <short_desc>documentation how to use systemd is inconsistent</short_desc>
          <delta_ts>2023-04-28 16:20:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Mega Manual</product>
          <component>mega-manual</component>
          <version>3.1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</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.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Michael Opdenacker">michael.opdenacker</assigned_to>
          <cc>michael.opdenacker</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88049</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2020-08-27 09:43:47 +0000</bug_when>
    <thetext>It looks like from 3.0 as pointed out here[1] to switch to systemd as the init manager you just need to do:

INIT_MANAGER = &quot;systemd&quot;

But in a different place in the manual it&apos;s described the old way[2]:

DISTRO_FEATURES_append = &quot; systemd&quot;
VIRTUAL-RUNTIME_init_manager = &quot;systemd&quot;

DISTRO_FEATURES_BACKFILL_CONSIDERED = &quot;sysvinit&quot;

VIRTUAL-RUNTIME_initscripts = &quot;&quot;

[1] https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-3.0-init-system-selection

[2] https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#using-systemd-exclusively</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90045</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-04-22 13:54:46 +0000</bug_when>
    <thetext>The issues is still there.
Here are the new links:

https://docs.yoctoproject.org/singleindex.html#init-system-selection
https://docs.yoctoproject.org/singleindex.html#using-systemd-exclusively

Anyway, INIT_MANAGER is no longer part of the Variable Index. It looks obsolete.
I&apos;ll double check the manual to look for a correct solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94613</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-01-03 18:47:13 +0000</bug_when>
    <thetext>INIT_MANAGER is definitely not obsolete and should be added to the variable index.

See also https://bugzilla.yoctoproject.org/show_bug.cgi?id=14026</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95475</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-04-28 08:46:40 +0000</bug_when>
    <thetext>Fixed by this commit:
https://git.yoctoproject.org/yocto-docs/commit/?id=602c0e8f770516256dab04edfd887377303c06bb

Closing this bug
Thanks for reporting it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95482</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-04-28 16:20:13 +0000</bug_when>
    <thetext>Setting the bug to &quot;Closed&quot; according to the previous comment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>