Ludovic Courtès (2015-03-26 00:01 +0300) wrote: > Alex Kost <alez...@gmail.com> skribis: > >> I'm on GuixSD (and LINUX_MODULE_DIRECTORY is set properly) but: >> >> $ sudo modprobe ... >> >> doesn't load a module for me, however when I try it under root: >> >> # modprobe ... >> >> it works. No idea why that happens. > > Could it be that ‘sudo’ creates an environment that lacks > LINUX_MODULE_DIRECTORY? That may well be the case.
Ah indeed, "sudo -E modprobe …" works. -- Alex