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

static: wait for kernel driver for services that load modules #240

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

Conversation

alfonsosanchezbeato
Copy link
Member

Wait for kernel modules to be mounted in [email protected] and mount for /proc/sys/fs/binfmt_misc/, as these load modules. This is in principle a workaround until we start to mount modules and firmware from the initramfs.

Copy link
Collaborator

@valentindavid valentindavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments.

@@ -0,0 +1,2 @@
[Unit]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not see [email protected] used in any unit. Is this really used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used by some units that have dependencies of they: Wants=modprobe@<module_name>.service, like systemd-pstore.service or sys-kernel-config.mount. It is not related to binfmt-misc.

@@ -0,0 +1,2 @@
[Unit]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a temporary fix, I think we should add it as comment in the file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added comments to the two files now

Wait for kernel modules to be mounted in [email protected] and mount
for /proc/sys/fs/binfmt_misc/, as these load modules. This is in
principle a workaround until we start to mount modules and firmware
from the initramfs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants