dracut
dracut copied to clipboard
WIP: refactor(systemd): use systemd modules
This pull request refactors the systemd module to start using systemd modules
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.
Hi @johannbg, I know you don't have too much time, so maybe I can help you to finish this draft. Today I remembered that a couple of months ago I started doing exactly the same thing before I realized this PR existed so I stopped, then other duties came and I forgot about this. Check the last 6 commits of that branch, maybe you can use them, or I can open a new PR if you wish.
@aafeijoo-suse already done those changes locally ( but not update the pr ) but thanks for the offer. These somewhat invasive changes so we need to make them in one sweep between releases as in make a release then merge the changes, ( which includes replacing udev with systemd-udev and deprecate the systemd code in udev module, ) as well as double check what's been happening in upstream systemd, the unit file for systemd-resolved has been change so you can look at that and make a PR for it if you have the time.
We also need to include our own type unit files in our modules as in stop sourcing them from the distribution/vendor/host to make sure they actually work since downstream is playing mix and match of components releases on the core/baseOS level ( for example latest dracut with old systemd etc. ) and often are shipping outdated unit files or simply unit files not meant for initrd
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.
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.