From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: modprobe on guix Date: Thu, 26 Mar 2015 16:06:33 +0300 Message-ID: <87lhijykkm.fsf@gmail.com> References: <28d5ac82436d5e625eb926b6544fc1fe@hcoop.net> <87lhilp73u.fsf@netris.org> <87lhilrl75.fsf@gmail.com> <87384shjui.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb7Ui-0000nC-E4 for guix-devel@gnu.org; Thu, 26 Mar 2015 09:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb7Uc-0001Og-JG for guix-devel@gnu.org; Thu, 26 Mar 2015 09:06:44 -0400 In-Reply-To: <87384shjui.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 25 Mar 2015 22:01:57 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2015-03-26 00:01 +0300) wrote: > Alex Kost 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 =E2=80=98sudo=E2=80=99 creates an environment that lacks > LINUX_MODULE_DIRECTORY? That may well be the case. Ah indeed, "sudo -E modprobe =E2=80=A6" works. --=20 Alex