From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42842) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKrsX-0007hS-Lp for guix-patches@gnu.org; Sat, 04 Apr 2020 19:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKrsW-0007JU-Lz for guix-patches@gnu.org; Sat, 04 Apr 2020 19:07:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKrsV-0007J0-N1 for guix-patches@gnu.org; Sat, 04 Apr 2020 19:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKrsU-0006nA-E9 for guix-patches@gnu.org; Sat, 04 Apr 2020 19:07:02 -0400 Subject: [bug#40274] [PATCH v6 2/2] gnu: Add kernel-module-loader-service. Resent-Message-ID: Date: Sun, 5 Apr 2020 01:06:10 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200404230610.obw47uab3utwhge4@pelzflorian.localdomain> References: <20200328135908.2540-1-brice@waegenei.re> <20200404151732.20341-1-brice@waegenei.re> <20200404151732.20341-3-brice@waegenei.re> <20200404231004.0097cf70@scratchpost.org> <20200404231144.05552175@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="iouwcqthyncpf3gp" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200404231144.05552175@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 40274@debbugs.gnu.org, Brice Waegeneire --iouwcqthyncpf3gp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sat, Apr 04, 2020 at 11:11:44PM +0200, Danny Milosavljevic wrote: > I meant (ice-9 textual-ports) Yes. I change Brice’s kernel-module-loader-shepherd-service (see attachment) and everything works perfectly. Thank you! Regards, Florian --iouwcqthyncpf3gp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="get-line.patch" diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm index 621d26fcff..61a7dbb9a1 100644 --- a/gnu/services/linux.scm +++ b/gnu/services/linux.scm @@ -151,7 +151,8 @@ representation." #~(lambda _ (if (file-exists? "/proc/sys/kernel/modprobe") (let ((modprobe (call-with-input-file - "/proc/sys/kernel/modprobe" get-line))) + "/proc/sys/kernel/modprobe" + (@ (ice-9 textual-ports) get-line)))) (guard (c ((message-condition? c) (format (current-error-port) "~a~%" (condition-message c)) --iouwcqthyncpf3gp--