Skip to contentSkip to conversation

New FAQ entry

DISCUSSION Richard Purdie 4 participants 4 messages Jan 24, 2025

lore
Share & tools
lore
#0 lore raw

Hi,

Since I keep getting asked this and I'm weary of repeating msyelf, I have a new FAQ entry, probably a slightly controversial one.

"""
Q: Why isn't systemd the default init system for OpenEmbedded/Yocto Project or in Poky?

A: systemd is a desktop Linux init system with a specific focus that isn't entirely aligned with a customisable 'embedded' build system/environment.

It understandably mandates certain layouts and configurations which may or may not align with what the objectives and direction OE/YP want to take. It doesn't support all of our targets, for example musl support in systemd is problematic.

If it were our default, we would have to align with all their choices and this doesn't make sense. It is therefore a configuration option and available to anyone where the design goals align but we're clear it isn't the only way to handle init.

It is included in our automated testing through poky-altcfg and we don't really need it to be the default, it is tested, it works, people can choose to use it, it works fine.
"""

Cheers,

Richard

#1 lore raw

This matches my memory of the decisions made over the past 10+ years. I agree with what you wrote 100%.

--Mark

Quoted 42 lines · Richard Purdie via lists.yoctoproject.org

Hi,

Since I keep getting asked this and I'm weary of repeating msyelf, I have a new FAQ entry, probably a slightly controversial one.

"""
Q: Why isn't systemd the default init system for OpenEmbedded/Yocto Project or in Poky?

A: systemd is a desktop Linux init system with a specific focus that isn't entirely aligned with a customisable 'embedded' build system/environment.

It understandably mandates certain layouts and configurations which may or may not align with what the objectives and direction OE/YP want to take. It doesn't support all of our targets, for example musl support in systemd is problematic.

If it were our default, we would have to align with all their choices and this doesn't make sense. It is therefore a configuration option and available to anyone where the design goals align but we're clear it isn't the only way to handle init.

It is included in our automated testing through poky-altcfg and we don't really need it to be the default, it is tested, it works, people can choose to use it, it works fine.
"""

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2177): https://lists.yoctoproject.org/g/tsc/message/2177
Mute This Topic: https://lists.yoctoproject.org/mt/110788688/3616948
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/tsc/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
In reply to Richard Purdie

LGTM

Quoted 42 lines · Richard Purdie via lists.yoctoproject.org

Hi,

Since I keep getting asked this and I'm weary of repeating msyelf, I have a new FAQ entry, probably a slightly controversial one.

"""
Q: Why isn't systemd the default init system for OpenEmbedded/Yocto Project or in Poky?

A: systemd is a desktop Linux init system with a specific focus that isn't entirely aligned with a customisable 'embedded' build system/environment.

It understandably mandates certain layouts and configurations which may or may not align with what the objectives and direction OE/YP want to take. It doesn't support all of our targets, for example musl support in systemd is problematic.

If it were our default, we would have to align with all their choices and this doesn't make sense. It is therefore a configuration option and available to anyone where the design goals align but we're clear it isn't the only way to handle init.

It is included in our automated testing through poky-altcfg and we don't really need it to be the default, it is tested, it works, people can choose to use it, it works fine.
"""

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6169): https://lists.yoctoproject.org/g/docs/message/6169
Mute This Topic: https://lists.yoctoproject.org/mt/110788689/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
In reply to Richard Purdie

I'm adding my voice to the chorus of agreement. The reason is this deeply unpleasant conversation I've had about musl support in systemd:
https://github.com/systemd/systemd-bootchart/pull/47

This conversation convinced me that systemd holds values like interoperability and choice in deep contempt, and thus clashes badly with why we do Yocto. It should not be the default or recommended choice, or the basis of our test matrix.

Alex

Quoted 42 lines · Richard Purdie via lists.yoctoproject.org

Hi,

Since I keep getting asked this and I'm weary of repeating msyelf, I have a new FAQ entry, probably a slightly controversial one.

"""
Q: Why isn't systemd the default init system for OpenEmbedded/Yocto Project or in Poky?

A: systemd is a desktop Linux init system with a specific focus that isn't entirely aligned with a customisable 'embedded' build system/environment.

It understandably mandates certain layouts and configurations which may or may not align with what the objectives and direction OE/YP want to take. It doesn't support all of our targets, for example musl support in systemd is problematic.

If it were our default, we would have to align with all their choices and this doesn't make sense. It is therefore a configuration option and available to anyone where the design goals align but we're clear it isn't the only way to handle init.

It is included in our automated testing through poky-altcfg and we don't really need it to be the default, it is tested, it works, people can choose to use it, it works fine.
"""

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6169): https://lists.yoctoproject.org/g/docs/message/6169
Mute This Topic: https://lists.yoctoproject.org/mt/110788689/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-