Bug 14026 - documentation how to use systemd is inconsistent
Summary: documentation how to use systemd is inconsistent
Status: CLOSED FIXED
Alias: None
Product: Mega Manual
Classification: Documentation
Component: mega-manual (show other bugs)
Version: 3.1.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.3 M1
Assignee: Michael Opdenacker
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-08-27 09:43 UTC by Robert Berger
Modified: 2023-04-28 16:20 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Berger 2020-08-27 09:43:47 UTC
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 = "systemd"

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

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"

DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

VIRTUAL-RUNTIME_initscripts = ""

[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
Comment 1 Michael Opdenacker 2021-04-22 13:54:46 UTC
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'll double check the manual to look for a correct solution.
Comment 2 Michael Opdenacker 2023-01-03 18:47:13 UTC
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
Comment 3 Michael Opdenacker 2023-04-28 08:46:40 UTC
Fixed by this commit:
https://git.yoctoproject.org/yocto-docs/commit/?id=602c0e8f770516256dab04edfd887377303c06bb

Closing this bug
Thanks for reporting it!
Comment 4 Michael Opdenacker 2023-04-28 16:20:13 UTC
Setting the bug to "Closed" according to the previous comment.