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

fix(systemd-sysext): handle confexts and correct extensions search path #2342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aafeijoo-suse
Copy link
Member

  • Support to confexts added in confext: extension of sysext systemd/systemd#26013 (instead of working on /usr and /opt, confext will extend only /etc).

  • /usr/lib/extensions/ not supported since systemd/systemd@de862276

  • In addition to these two fixes, add only raw binary disk images contained in regular .raw files, because dracut does not have a helper function to add directories recursively.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

- Support to confexts added in systemd/systemd#26013
(instead of working on /usr and /opt, confext will extend only /etc).

- /usr/lib/extensions/ not supported since systemd/systemd@de862276

- In addition to these two fixes, add only raw binary disk images contained in
regular files, because dracut does not have a helper function to add directories
recursively.
@github-actions github-actions bot added the modules Issue tracker for all modules label May 16, 2023
@stale
Copy link

stale bot commented Jun 17, 2023

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

@stale stale bot added the stale communication is stuck label Jun 17, 2023
@LaszloGombos
Copy link
Collaborator

LaszloGombos commented Jun 18, 2023

This link is not working for me. Perhaps systemd/systemd#24864 ?

I assume a purpose of this module is to load a systemd sysext extension in initramfs.

What would be a practical typical scenario where a boot would require loading systemd sysext extension during the initramfs phase and not after the chroot ?

@LaszloGombos LaszloGombos added enhancement Issue adding new functionality and removed stale communication is stuck labels Jun 18, 2023
@aafeijoo-suse
Copy link
Member Author

This link is not working for me. Perhaps systemd/systemd#24864 ?

No, the previous link is ok (systemd/systemd#26013), maybe you ran into temporary GitHub issues.

I assume a purpose of this module is to load a systemd sysext extension in initramfs.

What would be a practical typical scenario where a boot would require loading systemd sysext extension during the initramfs phase and not after the chroot ?

Excerpt:

The ‘confext’ concept follows the same principle as the sysext functionality. sysext allows to extend the host filesystem (or a unit’s) at runtime with signed images that add new files to /usr and /opt, using OverlayFS. In the same fashion, confext will extend /etc (and only /etc).

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

Successfully merging this pull request may close these issues.

2 participants