Replies: 2 comments
|
I am running ubuntu-24.04 which comes with systemd 255. The fix seems to be available systemd > 257 |
|
Hello @supershal this seems to be an issue with the shell. We dont allow sysext to configure the /usr directly because of the read only/ shadow that it does. We have a specific set of dirs that are used for sysext and those are loaded both by the service and a profile env var. This is explained here Depending on the shell it should autoload them automatically and be set so when you use sysext it sets the proper dirs without overriding our persistent ones: https://github.com/kairos-io/kairos-init/blob/main/pkg/bundled/cloudconfigs/99_sysext.yaml#L108 In this case if you do an Al;so you can do management of the sysext with kairos-agent which also includes the hierarchies automatically. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am installing kubernetes binaries using a systemd sysext. After enabling the sysext, the resulted files in
/usr/localdoes not include files form persistent source./dev/disk/by-label/COS_PERSISTENTAfter sysext merge, all files under
/usr/local/etc/from the persistent are not available in the final image. This prevents containerd to start any containers since it cant find/etc/hosts.The image has following.
It completely ignores content of the persistent partitions and exposes the base OS's files.
games,src,etc.I found some related issues filed in the systemd
Issue reported: systemd/systemd#31922
supposed fix: systemd/systemd#34381
How to prevent this when working with sysext?
All reactions