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

Ensure module insertion on boot in fedora and friends #8

Open
whereswaldon opened this issue Dec 14, 2018 · 4 comments
Open

Ensure module insertion on boot in fedora and friends #8

whereswaldon opened this issue Dec 14, 2018 · 4 comments

Comments

@whereswaldon
Copy link
Owner

Thanks to #7, the uinput group is created correctly at install time. So long as the uinput module is loaded when you boot your system, everything should be peachy. However, my F29 instance doesn't seem to load the module despite its presence in /etc/modules. I'm guessing that Fedora manages this a different way (dracut?), but it requires more research.

@psafont
Copy link

psafont commented Apr 9, 2019

From https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_Kernel_Modules/#sec-Persistent_Module_Loading:

You can specify additional modules to be loaded by the systemd-modules-load.service daemon by creating a program.conf file in the /etc/modules-load.d/ directory, where program is any descriptive name of your choice. The files in /etc/modules-load.d/ are text files that list the modules to be loaded, one per line.

@samiconductor
Copy link
Contributor

@psafont that worked for me! Thanks!

/etc/modules-load.d$ cat uinput.conf 
uinput

It seems fedora 29 ignores /etc/modules.

@whereswaldon
Copy link
Owner Author

@psafont Thanks for the citation! I guess I just need to update the makefile to do both the /etc/modules and /etc/modules-load.d/uinput.conf changes (maybe to to choose based on distro, but that seems more fragile).

@samiconductor
Copy link
Contributor

Maybe test if systemd is available else fallback to /etc/modules?

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

No branches or pull requests

3 participants