Code: Select all
systemd: Failed to load module autofs4
Would anybody please suggest how to suppress this message, in other words, what should I do so that systemd doesn't check autofs4 module?
Code: Select all
systemd: Failed to load module autofs4
If kmod was installed, you could have used the "install" command in an /etc/modprobe.d/*.conf file to run some command which returns success. Without kmod, I guess you can create a {/usr/local}/sbin/modprobe symlink pointing to /bin/true.manmath wrote:how to suppress this message
What this issue has to do with kernel devs?Head_on_a_Stick wrote:https://github.com/systemd/systemd/issues/9501 & https://bugs.debian.org/cgi-bin/bugrepo ... bug=902946 — please search before posting here.
@Wheelerof4te, looks like those kernel devs are breaking stuff again...
Read Lennart's comments in the linked bug report.Segfault wrote:What this issue has to do with kernel devs?
I guess so. It is intended to suppress the message, not the cause. But after reading HoaS' link I am not even sure it works.llivv wrote:p.H is that what is called a dirty hack?
How did you determine which modules were unnecessary? Have you considered that maybe autofs is necessary for systemd to function correctly with your current settings?...
I don't have autofs module and I know I don't need that. Mine is custom kernel stripped off of all the unnecessary modules.
...
Just now I recompiled a kernel without autofs. I also don't have autofs package installed. There's no problem in running the system except for systemd is still trying to look for the modules and throws that error message. I was asking if there's a way to edit some systemd units so that systemd doesn't look for autofs4.bw123 wrote:How did you determine which modules were unnecessary? Have you considered that maybe autofs is necessary for systemd to function correctly with your current settings?