[systemd-devel] Custom initrd services

Carolina Jubran cjubran at nvidia.com
Tue Jun 11 09:37:11 UTC 2024


Hello!

I have modules that need to be loaded using services because some of them don't autoload their modules.
I want the modules to load in initrd, before initrd.target. However, the service is not consistently loading in initrd in the current implementation.
To resolve this issue, I added "systemctl add-wants initrd.target A.service" in the dracut configuration.
Is this sufficient for my setup, or do I need to make any further changes in the systemd side to ensure the correct loading before initrd.target?
I'm using systemd-load-modules to load the modules.

Thank you,
Carolina Jubran



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240611/2c60b106/attachment.htm>


More information about the systemd-devel mailing list