Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: Update to 255 #1269

Closed
pothos opened this issue Nov 28, 2023 · 6 comments · Fixed by flatcar/scripts#1679
Closed

systemd: Update to 255 #1269

pothos opened this issue Nov 28, 2023 · 6 comments · Fixed by flatcar/scripts#1679

Comments

@pothos
Copy link
Member

pothos commented Nov 28, 2023

The new version will come out soon and it would be good to have it in main.
Since we are quite behind I think we should directly update to the latest version. In the past we thought that having a Flatcar release with a version in-between available would help with finding the point of a regression but I doubt it's really that helpful because things get backported for systemd stable releases anyway. Also it would mean to do 3 version updates where 2 are not used in the end.

@pothos
Copy link
Member Author

pothos commented Nov 28, 2023

Note: For the breaking changes I know that we have to fix some generators in the initrd not to write files outside of the generator folder.

@tormath1
Copy link
Contributor

tormath1 commented Dec 7, 2023

Note: The version 255 brings the EXTENSION_MANAGER_RELOAD feature. We should be able to drop the ensure-sysext.service (flatcar/init#96) and set this variable in our sysext images.

@ader1990
Copy link

ader1990 commented Feb 2, 2024

Hello,

Just FYI: While trying to check if systemd 255 might fix #1336, I saw that the changes required to switch are pretty important, as 255 does not support split-usr anymore. Also, while trying to switch to 254, the changes conflcited with the baselayout in some of the files. Will update this issue once I have a working version.

@ader1990
Copy link

@sayanchowdhury @krnowak I started the systemd 255 patch series with the dracut upgrade, as it is required by systemd 255: flatcar/scripts#1665

After this PR gets merged, we can continue with a new PR for the systemd 255 upgrade.

I have a draft PR here for the systemd 255 that was created as a PoC to showcase that an image build is possible: flatcar/scripts#1664

@ader1990
Copy link

Note: The version 255 brings the EXTENSION_MANAGER_RELOAD feature. We should be able to drop the ensure-sysext.service (flatcar/init#96) and set this variable in our sysext images.

hello @tormath1, anything that can be done in this PR flatcar/scripts#1679 concerning the code from PR flatcar/init#96?

@tormath1
Copy link
Contributor

@ader1990 I was thinking about it. If we just merge the flatcar/init#96 things are going to break I guess because the EXTENSION_MANAGER_RELOAD is not set on the image that we provide (bakery and built-in)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants