From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Mar 2018 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30760@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152061694416725 (code B ref -1); Fri, 09 Mar 2018 17:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 17:35:44 +0000 Received: from localhost ([127.0.0.1]:52735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvj-0004Lf-MB for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvi-0004LQ-0m for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvb-0001yi-W3 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euLvb-0001yb-S2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLva-0007pn-LR for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvY-0001xQ-Ia for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:33 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLvY-0001xK-E0 for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Received: from [2a00:c500:22e:1d3:903b:6b2c:84e4:bd83] (port=54698 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1euLvX-000225-LA for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Date: Fri, 9 Mar 2018 18:35:30 +0100 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20180309173530.wfdw356rf53tesck@doom> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yf77p6gar6vmta2j" Content-Disposition: inline User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --yf77p6gar6vmta2j Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline `guix system init` seems to be broken for non GuixSD distirbutions: When I tried it on openSUSE: # guix system --no-bootloader init /Devel/git/guix-config/config.scm /mnt/mnt/ ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /root/.config/guix/latest/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go guix system: error: open-file: No such file or directory: "/run/booted-system/kernel/lib/modules/4.15.6-1-default/modules.alias" 4.15.6-1-default is version of my running kernel, but not defined as package - it is not expected to be used for guix call. /run/booted-system/ is specific for GuixSD. --yf77p6gar6vmta2j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqixdsACgkQSiPjT6Az Q23sXw//XroEKiZmNhdRcSWcJA6tqd+aKd8rIpcrgyjm0rnR5lroN/2R2Kek8JyQ UOXodbVN8g+E0EBVJUPw1m5P+86hPncehqYowZKEv9zVRtVzMhOu7f95PxoZ5Zg4 rOiD4FlA5ARzThe9SIbOfi1fSgqxXfyzstJQ7jVZgK9tTFaDgMzj1CZRMd5mnPGE n4RwrpGe/tvyF3xUaVyFe0fSTA0QDmfLwGyKD7fzVRwi0eY2LmGktw1eZkIohWOh 0GV0RP9tBXUQ8R0weaTdDkuvEMHnb922mzTqdxc1IsG063LkFWmiT2x64Q0r/Odt Symhmt9TH/MR0VWX1XXBWh7uKETUcRKzzDucz3Ayw43Tfr1yDZHhiJ1rB6xMk+UF qR3Li+KXah25SGlBFT5KWmCW2L5SPx4lksd5WQ5K4JUzZbfXgfCH1hLdyDacg0Nm Gn+Rz4AUHIlrzjG1UsyMVzRRj1xE6NIl90GLFK6EtwkulGMivG1irlyiTFgrToaN HoRfgAKB1bEozOWWmlr0U0bVXayBncSqN31NDAo/einCeU/OqlPOjp+G4OcJDe8b jCYfpG+Qvtr/DIP/qT5tcIaK38qt+nznyTrxwTzMlEK+CF5HJg2UNjVgZwWLK5h+ ol7gtjJL089BE8cogbxwr6W/A9FgOO/VK027+8q3HNNPRRG4diM= =PcsC -----END PGP SIGNATURE----- --yf77p6gar6vmta2j-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Mar 2018 22:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cc: 30760@debbugs.gnu.org, =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152063375012028 (code B ref 30760); Fri, 09 Mar 2018 22:16:01 +0000 Received: (at 30760) by debbugs.gnu.org; 9 Mar 2018 22:15:50 +0000 Received: from localhost ([127.0.0.1]:52881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQIo-00037w-1F for submit@debbugs.gnu.org; Fri, 09 Mar 2018 17:15:50 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:49800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQIm-00037m-8f for 30760@debbugs.gnu.org; Fri, 09 Mar 2018 17:15:48 -0500 Received: from localhost (178.113.255.63.wireless.dyn.drei.com [178.113.255.63]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 2A90B33600C4; Fri, 9 Mar 2018 23:15:47 +0100 (CET) Date: Fri, 9 Mar 2018 23:15:43 +0100 From: Danny Milosavljevic Message-ID: <20180309231543.2ede5fa1@scratchpost.org> In-Reply-To: <20180309173530.wfdw356rf53tesck@doom> References: <20180309173530.wfdw356rf53tesck@doom> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/KPQm=rB8d9Z2mmlK=P2Wpgz"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/KPQm=rB8d9Z2mmlK=P2Wpgz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Ludo, there's a problem with check-device-initrd-modules: on "guix system init" it doesn't get linux-module-directory and doesn't pass it on to matching-mo= dules. matching-modules then eventually defaults to (current-alias-file) - which i= s not found on a non-GuixSD system. Would it be possible to get rid of the defaults in gnu/build/linux-modules.= scm ? I don't think those are safe or useful for our requirements. I've had to w= ork around those before. check-initrd-modules could use the initrd's new kernel modules to find out which modules to include (after all). Then we could also check the dependencies directly in the new Linux kernel modules and all in all it would be safer. --Sig_/KPQm=rB8d9Z2mmlK=P2Wpgz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqjB48ACgkQ5xo1VCww uqXJMQf/f3S6e2bIbSbl2+zgscmWjjQGJDpy89By8s0VKYBr6rtHVZ1n3ui2dDww PpAGN1BdlCBw5aomUhrBal7uKnjXOmgLf3A1TU2IDxJMWRy7yyMRoWQ6NNVQv4Jd t42BCpe32iUOma0LK5tmJAJO4Ua71FtG4W/KAoCEX9quevMiVaH7KtDIoDXxgDPe vBSz8INN3pujZnhXE1Rstfs8qiyvRcHlPuLd/r3WqzKW8sCp92N+LXchN8S0BnDf pRTjLJseRgvw9khnGs5KE5wsT79Uz8nq8rMn6nK/ZLC4NNgpCMO6AVewCvBv8Cqx Ju20oayht9EnHsiHE6d/+T/maqgItQ== =xXKC -----END PGP SIGNATURE----- --Sig_/KPQm=rB8d9Z2mmlK=P2Wpgz-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Mar 2018 22:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30760@debbugs.gnu.org, =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152063536222270 (code B ref 30760); Fri, 09 Mar 2018 22:43:01 +0000 Received: (at 30760) by debbugs.gnu.org; 9 Mar 2018 22:42:42 +0000 Received: from localhost ([127.0.0.1]:52914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQin-0005n6-Nv for submit@debbugs.gnu.org; Fri, 09 Mar 2018 17:42:41 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:33932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQim-0005my-4R for 30760@debbugs.gnu.org; Fri, 09 Mar 2018 17:42:40 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EF9B511D4D; Fri, 9 Mar 2018 23:42:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-YwA4XiFkNF; Fri, 9 Mar 2018 23:42:38 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B7CDEFFCA; Fri, 9 Mar 2018 23:42:37 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> Date: Fri, 09 Mar 2018 23:42:37 +0100 In-Reply-To: <20180309231543.2ede5fa1@scratchpost.org> (Danny Milosavljevic's message of "Fri, 9 Mar 2018 23:15:43 +0100") Message-ID: <87efksyioy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Danny Milosavljevic skribis: > there's a problem with check-device-initrd-modules: on "guix system init" > it doesn't get linux-module-directory and doesn't pass it on to matching-= modules. > matching-modules then eventually defaults to (current-alias-file) - which= is not > found on a non-GuixSD system. Yeah. > Would it be possible to get rid of the defaults in gnu/build/linux-module= s.scm ? > I don't think those are safe or useful for our requirements. I've had to= work > around those before. > > check-initrd-modules could use the initrd's new kernel modules to find > out which modules to include (after all). > > Then we could also check the dependencies directly in the new Linux kernel > modules and all in all it would be safer. It would be safer indeed, but we=E2=80=99d have to build the kernel and everything before we can make a diagnostic. That would lead to a weird user experience, similar to what we currently see with grafts (things are built/downloader, and later on you get a message about what=E2=80=99s g= oing to be built.) The current tradeoff is to make that diagnostic based on the running kernel, even if it=E2=80=99s an approximation. If that=E2=80=99s fine with you I=E2=80=99d like to fix this bug with the c= onservative patch below. Thoughts? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/build/linux-modules.scm b/gnu/build/linux-modules.scm index 4fe673cca..8cae4fb63 100644 --- a/gnu/build/linux-modules.scm +++ b/gnu/build/linux-modules.scm @@ -40,6 +40,7 @@ current-module-debugging-port device-module-aliases + current-alias-file known-module-aliases matching-modules)) diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index 1eb5f5130..16a8c4375 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -353,17 +353,27 @@ loaded at boot time in the order in which they appear." (define (check-device-initrd-modules device linux-modules location) "Raise an error if DEVICE needs modules beyond LINUX-MODULES to operate. DEVICE must be a \"/dev\" file name." - (let ((modules (delete-duplicates - (append-map matching-modules - (device-module-aliases device))))) - (unless (every (cute member <> linux-modules) modules) - (raise (condition - (&message - (message (format #f (G_ "you may need these modules \ + (define aliases + ;; Attempt to load 'modules.alias' from the current kernel, assuming we're + ;; on GuixSD, and assuming that corresponds to the kernel we'll be + ;; installing. Skip the whole thing if that file cannot be read. + (catch 'system-error + (lambda () + (known-module-aliases)) + (const #f))) + + (when aliases + (let ((modules (delete-duplicates + (append-map (cut matching-modules <> aliases) + (device-module-aliases device))))) + (unless (every (cute member <> linux-modules) modules) + (raise (condition + (&message + (message (format #f (G_ "you may need these modules \ in the initrd for ~a:~{ ~a~}") - device modules))) - (&fix-hint - (hint (format #f (G_ "Try adding them to the + device modules))) + (&fix-hint + (hint (format #f (G_ "Try adding them to the @code{initrd-modules} field of your @code{operating-system} declaration, along these lines: @@ -373,8 +383,8 @@ these lines: (initrd-modules (append (list~{ ~s~}) %base-initrd-modules))) @end example\n") - modules))) - (&error-location - (location (source-properties->location location)))))))) + modules))) + (&error-location + (location (source-properties->location location))))))))) ;;; linux-initrd.scm ends here --=-=-=-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Mar 2018 22:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 30760@debbugs.gnu.org, =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152063594623281 (code B ref 30760); Fri, 09 Mar 2018 22:53:01 +0000 Received: (at 30760) by debbugs.gnu.org; 9 Mar 2018 22:52:26 +0000 Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQsD-00063R-VB for submit@debbugs.gnu.org; Fri, 09 Mar 2018 17:52:26 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:52796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQsC-00063J-CI for 30760@debbugs.gnu.org; Fri, 09 Mar 2018 17:52:24 -0500 Received: from localhost (178.113.255.63.wireless.dyn.drei.com [178.113.255.63]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 9E5533360156; Fri, 9 Mar 2018 23:52:22 +0100 (CET) Date: Fri, 9 Mar 2018 23:52:21 +0100 From: Danny Milosavljevic Message-ID: <20180309235221.49e695d9@scratchpost.org> In-Reply-To: <87efksyioy.fsf@gnu.org> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/f_LfW0z6YSFcsXagvlzWS+f"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/f_LfW0z6YSFcsXagvlzWS+f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [huge build] > The current tradeoff is to make that diagnostic based on the running > kernel, even if it=E2=80=99s an approximation. Ah, good point. > If that=E2=80=99s fine with you I=E2=80=99d like to fix this bug with the= conservative > patch below. Sure, looks good. While we are approximating we could also in a later version fall back to (the host system's) "`cat /proc/sys/kernel/modprobe` --showconfig" - it could be used to find aliases. But maybe that would make it brittle. Hmm... --Sig_/f_LfW0z6YSFcsXagvlzWS+f Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqjECUACgkQ5xo1VCww uqXggwgAhQBUarGdn2nD/7jANKf4qNbaOls/fTnXGr/d9pa+slo9rMTwrM/AKNVZ nitHOd51tY4YkAia8XBVXe66TGBLFMQrq5lufiMHdYzfFI8RVcjS66Yugd/XSocd 9YtVV1qKQjwFEox8AhiQpIJoVFGJJE6eL8zGICC8Je3nEBV4sW57OROLGT+WfU5p 9IhQjN1C6S9gtQanyQW7y8tajcge4PJS0h51P5pATmspx+hTtUa2iMb/ZBnuVy1t 3VgJNROEjgL5Aq4DFO7WB7A+K4LUK90V7FYshW3ZHmxUeSCQh8pvRyH9IBMcFvz6 milIkM5vf797Nrdk4UJOVGYxWm4VxQ== =qlP2 -----END PGP SIGNATURE----- --Sig_/f_LfW0z6YSFcsXagvlzWS+f-- From unknown Mon Jun 23 07:52:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#30760: closed (Re: bug#30760: guix system init broken on non GuixSD) Message-ID: References: <87woykx2ef.fsf@gnu.org> <20180309173530.wfdw356rf53tesck@doom> X-Gnu-PR-Message: they-closed 30760 X-Gnu-PR-Package: guix Reply-To: 30760@debbugs.gnu.org Date: Fri, 09 Mar 2018 23:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1520637602-26002-1" This is a multi-part message in MIME format... ------------=_1520637602-26002-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30760: guix system init broken on non GuixSD which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30760@debbugs.gnu.org. --=20 30760: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30760 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1520637602-26002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30760-done) by debbugs.gnu.org; 9 Mar 2018 23:19:57 +0000 Received: from localhost ([127.0.0.1]:52936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euRIq-0006kz-Nh for submit@debbugs.gnu.org; Fri, 09 Mar 2018 18:19:56 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:34074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euRIo-0006kr-Rf for 30760-done@debbugs.gnu.org; Fri, 09 Mar 2018 18:19:55 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4A45611271; Sat, 10 Mar 2018 00:19:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uWiXcv4UHVCt; Sat, 10 Mar 2018 00:19:53 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 38D3C18B2; Sat, 10 Mar 2018 00:19:53 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#30760: guix system init broken on non GuixSD References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> Date: Sat, 10 Mar 2018 00:19:52 +0100 In-Reply-To: <20180309235221.49e695d9@scratchpost.org> (Danny Milosavljevic's message of "Fri, 9 Mar 2018 23:52:21 +0100") Message-ID: <87woykx2ef.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30760-done Cc: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= , 30760-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Danny Milosavljevic skribis: > [huge build] >> The current tradeoff is to make that diagnostic based on the running >> kernel, even if it=E2=80=99s an approximation. > > Ah, good point. > >> If that=E2=80=99s fine with you I=E2=80=99d like to fix this bug with th= e conservative >> patch below. > > Sure, looks good. Pushed as 8d5c14edf5a6d01f859b1aa00c836ffdb5ddecf4. > While we are approximating we could also in a later version fall back to > (the host system's) "`cat /proc/sys/kernel/modprobe` --showconfig" - it > could be used to find aliases. > > But maybe that would make it brittle. Hmm... Yeah, I don=E2=80=99t think it=E2=80=99d make a big difference. BTW, we should add a =E2=80=98--skip-checks=E2=80=99 option to =E2=80=98gui= x system=E2=80=99 so that users can skip those checks. That=E2=80=99d provide an escape hatch in case =E2=80=98check-device-initrd-modules=E2=80=99 makes the wrong diagnostic. Thoughts? Ludo=E2=80=99. ------------=_1520637602-26002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 17:35:44 +0000 Received: from localhost ([127.0.0.1]:52735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvj-0004Lf-MB for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvi-0004LQ-0m for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvb-0001yi-W3 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euLvb-0001yb-S2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLva-0007pn-LR for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvY-0001xQ-Ia for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:33 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLvY-0001xK-E0 for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Received: from [2a00:c500:22e:1d3:903b:6b2c:84e4:bd83] (port=54698 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1euLvX-000225-LA for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Date: Fri, 9 Mar 2018 18:35:30 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: bug-guix@gnu.org Subject: guix system init broken on non GuixSD Message-ID: <20180309173530.wfdw356rf53tesck@doom> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yf77p6gar6vmta2j" Content-Disposition: inline User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --yf77p6gar6vmta2j Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline `guix system init` seems to be broken for non GuixSD distirbutions: When I tried it on openSUSE: # guix system --no-bootloader init /Devel/git/guix-config/config.scm /mnt/mnt/ ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /root/.config/guix/latest/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go guix system: error: open-file: No such file or directory: "/run/booted-system/kernel/lib/modules/4.15.6-1-default/modules.alias" 4.15.6-1-default is version of my running kernel, but not defined as package - it is not expected to be used for guix call. /run/booted-system/ is specific for GuixSD. --yf77p6gar6vmta2j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqixdsACgkQSiPjT6Az Q23sXw//XroEKiZmNhdRcSWcJA6tqd+aKd8rIpcrgyjm0rnR5lroN/2R2Kek8JyQ UOXodbVN8g+E0EBVJUPw1m5P+86hPncehqYowZKEv9zVRtVzMhOu7f95PxoZ5Zg4 rOiD4FlA5ARzThe9SIbOfi1fSgqxXfyzstJQ7jVZgK9tTFaDgMzj1CZRMd5mnPGE n4RwrpGe/tvyF3xUaVyFe0fSTA0QDmfLwGyKD7fzVRwi0eY2LmGktw1eZkIohWOh 0GV0RP9tBXUQ8R0weaTdDkuvEMHnb922mzTqdxc1IsG063LkFWmiT2x64Q0r/Odt Symhmt9TH/MR0VWX1XXBWh7uKETUcRKzzDucz3Ayw43Tfr1yDZHhiJ1rB6xMk+UF qR3Li+KXah25SGlBFT5KWmCW2L5SPx4lksd5WQ5K4JUzZbfXgfCH1hLdyDacg0Nm Gn+Rz4AUHIlrzjG1UsyMVzRRj1xE6NIl90GLFK6EtwkulGMivG1irlyiTFgrToaN HoRfgAKB1bEozOWWmlr0U0bVXayBncSqN31NDAo/einCeU/OqlPOjp+G4OcJDe8b jCYfpG+Qvtr/DIP/qT5tcIaK38qt+nznyTrxwTzMlEK+CF5HJg2UNjVgZwWLK5h+ ol7gtjJL089BE8cogbxwr6W/A9FgOO/VK027+8q3HNNPRRG4diM= =PcsC -----END PGP SIGNATURE----- --yf77p6gar6vmta2j-- ------------=_1520637602-26002-1-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 10 Mar 2018 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , 30760@debbugs.gnu.org Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152071816321507 (code B ref 30760); Sat, 10 Mar 2018 21:43:02 +0000 Received: (at 30760) by debbugs.gnu.org; 10 Mar 2018 21:42:43 +0000 Received: from localhost ([127.0.0.1]:54521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eumGJ-0005ap-K4 for submit@debbugs.gnu.org; Sat, 10 Mar 2018 16:42:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eumGH-0005ab-SQ for 30760@debbugs.gnu.org; Sat, 10 Mar 2018 16:42:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eumGB-0001RH-Ow for 30760@debbugs.gnu.org; Sat, 10 Mar 2018 16:42:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eumG6-0001Pc-Ee; Sat, 10 Mar 2018 16:42:30 -0500 Received: from [2a00:c500:22e:1d3:903b:6b2c:84e4:bd83] (port=41232 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eumG5-0005Nm-UP; Sat, 10 Mar 2018 16:42:30 -0500 Date: Sat, 10 Mar 2018 22:42:28 +0100 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20180310214228.uie2qxbiihaukpz5@doom> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aa6lxoumhfo5vacb" Content-Disposition: inline In-Reply-To: <87woykx2ef.fsf@gnu.org> User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --aa6lxoumhfo5vacb Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2018 at 12:19:52AM +0100, Ludovic Court=C3=A8s wrote: >Danny Milosavljevic skribis: > >> [huge build] >>> The current tradeoff is to make that diagnostic based on the running >>> kernel, even if it=E2=80=99s an approximation. >> >> Ah, good point. >> >>> If that=E2=80=99s fine with you I=E2=80=99d like to fix this bug with t= he conservative >>> patch below. >> >> Sure, looks good. > >Pushed as 8d5c14edf5a6d01f859b1aa00c836ffdb5ddecf4. I'm afraid that now it leads to: Backtrace: 12 (primitive-load "/usr/bin/guix") In guix/ui.scm: 1501:12 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 10 (catch _ _ # =E2=80=A6) 829:9 9 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1180:8 8 (_) 1052:6 7 (process-action _ _ _) In guix/store.scm: 1443:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1065:13 5 (_ _) 764:4 4 (perform-action init #< kernel: # =E2=80=A6) In srfi/srfi-1.scm: 640:9 3 (for-each # =E2=80=A6) In gnu/system/linux-initrd.scm: 360:4 2 (check-device-initrd-modules "/dev/nvme0n1p2" ("ahci" =E2=80=A6= ) =E2=80=A6) In ice-9/boot-9.scm: 829:9 1 (catch system-error # =E2=80=A6) In gnu/system/linux-initrd.scm: 361:6 0 (_) gnu/system/linux-initrd.scm:361:6: known-module-aliases: unbound variable This is part of my config: (initrd (lambda (file-system . rest) (raw-initrd file-systems #:linux linux-x1-sw1 #:linux-modules '() #:helper-packages '(linux-firmware-initrd-x1-sw1) #:mapped-devices mapped-devices))) I don't have any modules to be loaded in initrd, kernel is compiled using my configuration which fits my needs and follows the HW it will run o= n. S_W --aa6lxoumhfo5vacb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqkUT0ACgkQSiPjT6Az Q22eQQ//eu0t6AdCvqPeUr58+X0wYLQWiEAvmoRpguZzcQQT2FBV09nFTLefHB1L j1oNhB8DMJAAuqNNV3g56LoW2WNmGnaA4rIdkPHJR+ek0WFTVenmQiN91jvh0UQ1 AxZzYk4eEijjVVf8/uDabEln9yWuYRGxZWQYGIRYdtZ87dd9r+BbshpZCBcJh82s 2VOCXCYAriw/5mATXuyYDGqyZoPNu9wNTxmcJXpmbbx4Ce9Gng4Cy5k0vSGk3C5z 3GLoytsoFMOUzZ9JibtcSRXxUNMZhLzpoF5ohcRTVMnHkO/Z89d6ncZXMA9fdfpo /f6IHx1G/2b2IluqqyLHxFFOJ8+2aJ4xRnFCLttQS/JiOxPy3IUYJh0Vi4DSLe5+ GV1W0FZ9aQ/FhUwHd3+Tglp1DqMOqxlt5qQdtGAhV3vJ1sDKHs4RSJ7bJLUHrB6U MYdrOaAo9Q2avXmOpPHFoF8V9Q7jj1Ws5Bdf+HI9D2aDgJHF6PGdAdW3fmtwpwtF trkP9qVqkDYzAqD1UEsAQQvf8jARKaYRmou7faExKS9MSRWI8mAMRvbHDlh/IdZZ XfZXYnBjYn3hjmVc0jeT87CRpN0et25ERjL6zZzhyE+iYIn2xcn4X+dumpMbmxJ6 9c/LtD+k8464EU2FQHzLFZW6ky/c2QrDfVZQDFUtNa7XV0J0nP8= =A9HR -----END PGP SIGNATURE----- --aa6lxoumhfo5vacb-- From unknown Mon Jun 23 07:52:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#30760: closed (Re: bug#30760: guix system init broken on non GuixSD) Message-ID: References: <20180311173118.69f09b07@scratchpost.org> <20180309173530.wfdw356rf53tesck@doom> X-Gnu-PR-Message: they-closed 30760 X-Gnu-PR-Package: guix Reply-To: 30760@debbugs.gnu.org Date: Sun, 11 Mar 2018 16:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1520785922-22551-1" This is a multi-part message in MIME format... ------------=_1520785922-22551-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30760: guix system init broken on non GuixSD which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30760@debbugs.gnu.org. --=20 30760: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30760 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1520785922-22551-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30760-done) by debbugs.gnu.org; 11 Mar 2018 16:31:28 +0000 Received: from localhost ([127.0.0.1]:55612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ev3se-0005qp-5L for submit@debbugs.gnu.org; Sun, 11 Mar 2018 12:31:28 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:46236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ev3sc-0005qf-Of for 30760-done@debbugs.gnu.org; Sun, 11 Mar 2018 12:31:27 -0400 Received: from localhost (178.113.255.63.wireless.dyn.drei.com [178.113.255.63]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 3C8FB3362645; Sun, 11 Mar 2018 17:31:24 +0100 (CET) Date: Sun, 11 Mar 2018 17:31:18 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: bug#30760: guix system init broken on non GuixSD Message-ID: <20180311173118.69f09b07@scratchpost.org> In-Reply-To: <87woykx2ef.fsf@gnu.org> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/O=8JvSmgTnBV=jutP2.s96E"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30760-done Cc: =?utf-8?Q?Tom=C3=A1=C5=A1_=C4=8Cech?= , 30760-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/O=8JvSmgTnBV=jutP2.s96E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, > BTW, we should add a =E2=80=98--skip-checks=E2=80=99 option to =E2=80=98g= uix system=E2=80=99 so that > users can skip those checks. That=E2=80=99d provide an escape hatch in c= ase > =E2=80=98check-device-initrd-modules=E2=80=99 makes the wrong diagnostic. Yeah, good idea! --Sig_/O=8JvSmgTnBV=jutP2.s96E Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqlWdYACgkQ5xo1VCww uqX/6Af+KEnlxuSsYOYUxb/G+s+ox57y1dToUoGzHtjnc6qLLNWd1GQwvHHtK9Nn J7ga2bIWz0cDi2iHZQVQpP4kthHqFdAu9SNdx9cJ5tqP2oQpZ+JdpPdHAz8ruaSV ba+lBKm5NilMeggV+OlvrXS5v9OwWbdZB5t+hP2SPCYtJfPYojBL0I+X9lMz+/2J +xurlV/6/rDMRRuQcqlts5jLFetUdeJA2Qzkma3+g2eOxoqZUmMorF9FuXWpbsuX pA9cEIMEmIrMQqPAobSBpRFic0sdpdTcAfKBVqm73B6mRZBL/eNN0T1pWBwgin/q KzcjAdiUmwp9XhNBWu5cOiMvFNJdTA== =PW3n -----END PGP SIGNATURE----- --Sig_/O=8JvSmgTnBV=jutP2.s96E-- ------------=_1520785922-22551-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 17:35:44 +0000 Received: from localhost ([127.0.0.1]:52735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvj-0004Lf-MB for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvi-0004LQ-0m for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvb-0001yi-W3 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euLvb-0001yb-S2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLva-0007pn-LR for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvY-0001xQ-Ia for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:33 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLvY-0001xK-E0 for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Received: from [2a00:c500:22e:1d3:903b:6b2c:84e4:bd83] (port=54698 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1euLvX-000225-LA for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Date: Fri, 9 Mar 2018 18:35:30 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: bug-guix@gnu.org Subject: guix system init broken on non GuixSD Message-ID: <20180309173530.wfdw356rf53tesck@doom> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yf77p6gar6vmta2j" Content-Disposition: inline User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --yf77p6gar6vmta2j Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline `guix system init` seems to be broken for non GuixSD distirbutions: When I tried it on openSUSE: # guix system --no-bootloader init /Devel/git/guix-config/config.scm /mnt/mnt/ ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /root/.config/guix/latest/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go guix system: error: open-file: No such file or directory: "/run/booted-system/kernel/lib/modules/4.15.6-1-default/modules.alias" 4.15.6-1-default is version of my running kernel, but not defined as package - it is not expected to be used for guix call. /run/booted-system/ is specific for GuixSD. --yf77p6gar6vmta2j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqixdsACgkQSiPjT6Az Q23sXw//XroEKiZmNhdRcSWcJA6tqd+aKd8rIpcrgyjm0rnR5lroN/2R2Kek8JyQ UOXodbVN8g+E0EBVJUPw1m5P+86hPncehqYowZKEv9zVRtVzMhOu7f95PxoZ5Zg4 rOiD4FlA5ARzThe9SIbOfi1fSgqxXfyzstJQ7jVZgK9tTFaDgMzj1CZRMd5mnPGE n4RwrpGe/tvyF3xUaVyFe0fSTA0QDmfLwGyKD7fzVRwi0eY2LmGktw1eZkIohWOh 0GV0RP9tBXUQ8R0weaTdDkuvEMHnb922mzTqdxc1IsG063LkFWmiT2x64Q0r/Odt Symhmt9TH/MR0VWX1XXBWh7uKETUcRKzzDucz3Ayw43Tfr1yDZHhiJ1rB6xMk+UF qR3Li+KXah25SGlBFT5KWmCW2L5SPx4lksd5WQ5K4JUzZbfXgfCH1hLdyDacg0Nm Gn+Rz4AUHIlrzjG1UsyMVzRRj1xE6NIl90GLFK6EtwkulGMivG1irlyiTFgrToaN HoRfgAKB1bEozOWWmlr0U0bVXayBncSqN31NDAo/einCeU/OqlPOjp+G4OcJDe8b jCYfpG+Qvtr/DIP/qT5tcIaK38qt+nznyTrxwTzMlEK+CF5HJg2UNjVgZwWLK5h+ ol7gtjJL089BE8cogbxwr6W/A9FgOO/VK027+8q3HNNPRRG4diM= =PcsC -----END PGP SIGNATURE----- --yf77p6gar6vmta2j-- ------------=_1520785922-22551-1-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Mar 2018 09:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , 30760@debbugs.gnu.org Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.15208463838891 (code B ref 30760); Mon, 12 Mar 2018 09:20:02 +0000 Received: (at 30760) by debbugs.gnu.org; 12 Mar 2018 09:19:43 +0000 Received: from localhost ([127.0.0.1]:55989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evJcN-0002JL-3s for submit@debbugs.gnu.org; Mon, 12 Mar 2018 05:19:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evJcL-0002J9-TI for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 05:19:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evJcF-0000he-Sr for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 05:19:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evJc6-0000Jq-9K; Mon, 12 Mar 2018 05:19:26 -0400 Received: from gw-prague.gooddata.com ([212.47.19.46]:33672 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1evJc5-0005L5-MF; Mon, 12 Mar 2018 05:19:26 -0400 Date: Mon, 12 Mar 2018 10:19:23 +0100 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20180312091923.q47b3mrhzsl4vr75@doom> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mfzonp33n22v3oev" Content-Disposition: inline In-Reply-To: <874llmuwc5.fsf@gnu.org> User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --mfzonp33n22v3oev Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 11, 2018 at 10:38:18PM +0100, Ludovic Court=C3=A8s wrote: >Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >> In ice-9/boot-9.scm: >> 829:9 1 (catch system-error # =E2=80=A6) >> In gnu/system/linux-initrd.scm: >> 361:6 0 (_) >> >> gnu/system/linux-initrd.scm:361:6: known-module-aliases: unbound variable > >My bad! Danny eventually fixed it in >0803ddf2677ead5e9d8ef698316125e0c8b9c998. I'm afraid this is still not correct. # guix system init config.scm /mnt/mnt/ =2E.. config.scm:64:9: error: you may need these modules in the initrd for /dev/n= vme0n1p2: shpchp hint: Try adding them to the `initrd-modules' field of your `operating-syst= em' declaration, along these lines: (operating-system ;; ... (initrd-modules (append (list "shpchp") %base-initrd-modules))) I don't have `shpchp` as a module as I have it compiled into kernel directly. Can I somehow disable the check? Thanks. S_W --mfzonp33n22v3oev Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqmRhoACgkQSiPjT6Az Q20CTA//QG9vFoSc4MaaRXA+mLc5Dtn/Ly7DyRCgx07Ro4GXtodqr0+qCfHGhydY MaJmxdtDDj7NTzUk/jazVexJQvRNyD6EH3m4+kT6Pk7Z+2IPDcmxCMy6XTHMKGx3 8w1EQAoMKX3IIb76CpwaQj8UZCLkyFo9Itc2Sydyp3NhH88AjLolsrqtAaUFCQSY H/ciUjaNH+EFViVrLnpInmvMrF3g6H+G7y0QO3yctnGSG6e5kTXjzOxdACce8Pu4 mpOuJ/TtcgxLid1Rsl2zW0cqYwyuDRPeshIYw0WCv0VoXeQ73NjSO0eOzxfEYOFb TIS1rzqUGlmury38jt2ZNBPz3C1ZFfIjG/XQouMJqLrWu48sbabziP14jxX+6Fxf CIGd4vFdyt6TqLfisM/lpBd4GWX2ZaD8i7K0T+zspxv6U8yj/sz1uEwjtOT4JNeP iRgqkt+YW+6vpH9QYzjxVOnPEMNC6JfHZyFpnCvcRUMSMS12lNe7oePpZ/UTs7Ag 7BNbveO3q7Ujhre1mB5wnK7ztSk6toqbTZcym3ygX1iVKHFspPJlxK5Zro16Uzzh CMDtwREWbJStrsiGni+UZ1QQYOSGB+GLaG2J6fKLitIfqW0MqCzcGYXgx5BZukvZ V+S9E5DI5uLebEGU2sMRbLq5hCzq2FkmS8xYwAKUK45LkOGS7Es= =+aIN -----END PGP SIGNATURE----- --mfzonp33n22v3oev-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Mar 2018 12:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30760@debbugs.gnu.org Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152085775210366 (code B ref 30760); Mon, 12 Mar 2018 12:30:01 +0000 Received: (at 30760) by debbugs.gnu.org; 12 Mar 2018 12:29:12 +0000 Received: from localhost ([127.0.0.1]:56061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evMZk-0002h8-KF for submit@debbugs.gnu.org; Mon, 12 Mar 2018 08:29:12 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:53212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evMZi-0002gy-Mf for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 08:29:11 -0400 Received: from localhost (77.118.151.73.wireless.dyn.drei.com [77.118.151.73]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AAA323360071; Mon, 12 Mar 2018 13:29:08 +0100 (CET) Date: Mon, 12 Mar 2018 13:24:37 +0100 From: Danny Milosavljevic Message-ID: <20180312132437.2a4b2ca7@scratchpost.org> In-Reply-To: <20180312091923.q47b3mrhzsl4vr75@doom> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/_+qrlvvGA3tUD1bB13KK.gE"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/_+qrlvvGA3tUD1bB13KK.gE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I'm afraid this is still not correct. >=20 > # guix system init config.scm /mnt/mnt/ > ... > config.scm:64:9: error: you may need these modules in the initrd for /dev= /nvme0n1p2: shpchp > hint: Try adding them to the `initrd-modules' field of your `operating-sy= stem' declaration, along these lines: >=20 > (operating-system > ;; ... > (initrd-modules (append (list "shpchp") > %base-initrd-modules))) >=20 > I don't have `shpchp` as a module as I have it compiled into kernel > directly. Can I somehow disable the check? I think it's a good idea to add a command-line switch that disables the che= ck. But then people will just disable the check always and it won't improve unt= il it's correct. It's still a good idea to give people the choice. @Ludo: It would also be great to have a command-line switch to check the sl= ow, correct, way. We'd also have to check modules.builtin of the new system's = initrd - but we'd do it only when the option is passed :) I suggest to change it to: > # guix system init config.scm /mnt/mnt/ > ... > config.scm:64:9: WARNING: you may need these modules in the initrd for /d= ev/nvme0n1p2: shpchp ^^^ not error > hint: Try adding them to the `initrd-modules' field of your `operating-sy= stem' declaration, along these lines: >=20 > (operating-system > ;; ... > (initrd-modules (append (list "shpchp") > %base-initrd-modules))) > > If you think this warning is mistaken, invoke guix again with the option > --enable-paranoid-initrd-checks to be on the safe side, or with the option > --skip-initrd-checks to continue regardless. --Sig_/_+qrlvvGA3tUD1bB13KK.gE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqmcYUACgkQ5xo1VCww uqXjQQf+K/p/Wm3nzvXXxLZLjxLf27zrQHDzaMci8J7EfAv4SX21OqCspg++QRNA NmSqs1lwmgMZog84x1qMa/fHB8A0QODhFxNemC3U4vtaQdSD/GmLRarg/dDWqzMH 62XmM7k/rB3KG0dBbhBaNyBldgO2m0iYeOXrLjO+rh+q/dT4OnnM6/rzx6dY73Cz g9TAqxreNc4t+eeIHRY7NfJthZi4uTn3dYFhRETJNc4fWvhfx+87RwR9SBiIiErK IzS5Vks4nsLs1Y2OMC0T8TADFTOYEqz1CuvwpfaRbHUustsqIzmHdvCmhHVZVd5M u9YYaxGtZkqjIRKNkMvJYu7B089ddA== =zJmL -----END PGP SIGNATURE----- --Sig_/_+qrlvvGA3tUD1bB13KK.gE-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Mar 2018 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30760@debbugs.gnu.org, =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152085830911283 (code B ref 30760); Mon, 12 Mar 2018 12:39:02 +0000 Received: (at 30760) by debbugs.gnu.org; 12 Mar 2018 12:38:29 +0000 Received: from localhost ([127.0.0.1]:56066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evMij-0002vv-Fz for submit@debbugs.gnu.org; Mon, 12 Mar 2018 08:38:29 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:53908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evMih-0002vn-DX for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 08:38:27 -0400 Received: from localhost (77.118.151.73.wireless.dyn.drei.com [77.118.151.73]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 2D1E733602B7; Mon, 12 Mar 2018 13:38:26 +0100 (CET) Date: Mon, 12 Mar 2018 13:38:21 +0100 From: Danny Milosavljevic Message-ID: <20180312133821.58304526@scratchpost.org> In-Reply-To: <20180312132437.2a4b2ca7@scratchpost.org> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> <20180312132437.2a4b2ca7@scratchpost.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/xmhcD/vVh+P6Fv1nPxPRfXr"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/xmhcD/vVh+P6Fv1nPxPRfXr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Or maybe to this: > > # guix system init config.scm /mnt/mnt/ > > ... > > config.scm:64:9: WARNING: you may need these modules in the initrd for = /dev/nvme0n1p2: shpchp =20 > ^^^ not error > > hint: Try adding them to the `initrd-modules' field of your `operating-= system' declaration, along these lines: > >=20 > > (operating-system > > ;; ... > > (initrd-modules (append (list "shpchp") > > %base-initrd-modules))) > > > > (sleeps 5 s) > > (builds entire system) > > (checks the slow, correct way at the end - when everything was built al= ready anyway) --Sig_/xmhcD/vVh+P6Fv1nPxPRfXr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqmdL4ACgkQ5xo1VCww uqUHeAf/TiLja7X5nWfmXpx/QtbELQ52/3csqceL3iYpuiy5Ld5lvzi8UGWrGlTP jV62wiQ4sr98euySuruIIRTXF0FZWt4reLa32w3fqwgfMqHjdjMcf3XPdp6qBtHT dgreXiR9uO6tzRmhZ5lZLQ5pj8jhNGaoBwPIvMsoXfg5DcP2H5E990u5GHPs4RmT PSDCAvFiq9IpVmj0aIDlA2s7E2+vklOCBGwFFb+Bb3AGm0YSragKCSXXUDMAUxMy 2Otx6MMUS8TjO8siWCzQEQslY+SVVh0TVUZL0KQcBS9Y++L/lcLMXH41xP9NYfb7 PRWKC+hqJw/3n1yKrMazHq8keI7Cag== =QB5+ -----END PGP SIGNATURE----- --Sig_/xmhcD/vVh+P6Fv1nPxPRfXr-- From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Mar 2018 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30760@debbugs.gnu.org, =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152085943513247 (code B ref 30760); Mon, 12 Mar 2018 12:58:01 +0000 Received: (at 30760) by debbugs.gnu.org; 12 Mar 2018 12:57:15 +0000 Received: from localhost ([127.0.0.1]:56114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN0s-0003Rb-PN for submit@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:15 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN0p-0003RS-Rb for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:13 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 31B0C123A2; Mon, 12 Mar 2018 13:57:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i30yNnh4NCoq; Mon, 12 Mar 2018 13:57:10 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5261F123B5; Mon, 12 Mar 2018 13:57:09 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> <20180312132437.2a4b2ca7@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?UTF-8?Q?Vent=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 12 Mar 2018 13:57:08 +0100 In-Reply-To: <20180312132437.2a4b2ca7@scratchpost.org> (Danny Milosavljevic's message of "Mon, 12 Mar 2018 13:24:37 +0100") Message-ID: <877eqhqwnv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Danny Milosavljevic skribis: >> I'm afraid this is still not correct. >>=20 >> # guix system init config.scm /mnt/mnt/ >> ... >> config.scm:64:9: error: you may need these modules in the initrd for /de= v/nvme0n1p2: shpchp >> hint: Try adding them to the `initrd-modules' field of your `operating-s= ystem' declaration, along these lines: >>=20 >> (operating-system >> ;; ... >> (initrd-modules (append (list "shpchp") >> %base-initrd-modules))) >>=20 >> I don't have `shpchp` as a module as I have it compiled into kernel >> directly. Can I somehow disable the check? Exactly what I feared. ;-) > I think it's a good idea to add a command-line switch that disables the c= heck. > > But then people will just disable the check always and it won't improve u= ntil > it's correct. It's still a good idea to give people the choice. > > @Ludo: It would also be great to have a command-line switch to check the = slow, > correct, way. We'd also have to check modules.builtin of the new system'= s initrd > - but we'd do it only when the option is passed :) > > I suggest to change it to: > >> # guix system init config.scm /mnt/mnt/ >> ... >> config.scm:64:9: WARNING: you may need these modules in the initrd for /= dev/nvme0n1p2: shpchp > ^^^ not error I thought about making it a warning rather than an error back then, but thought that it wouldn=E2=80=99t work well: the warning would immediately go off-screen as build logs start scrolling by. Thus I took the optimistic view that false positives like the one Tom=C3=A1= =C5=A1 experienced should be rare because usually init/reconfigure are used on GuixSD, with a kernel config very close to the target config. Nevertheless, the risk of false-positives obviously exists, hence the need for an escape hatch. What about the attached patch? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index d3a7908f9..bcea89e07 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -20458,6 +20458,16 @@ of the image size as a function of the size of the system declared in Make @var{file} a symlink to the result, and register it as a garbage collector root. +@item --skip-checks +Skip pre-installation safety checks. + +By default, @command{guix system init} and @command{guix system +reconfigure} perform safety checks: they make sure the file systems that +appear in the @code{operating-system} declaration actually exist +(@pxref{File Systems}), and that any Linux kernel modules that may be +needed at boot time are listed in @code{initrd-modules} (@pxref{Initial +RAM Disk}). Passing this option skips these tests altogether. + @item --on-error=@var{strategy} Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following: diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index acfccce96..f0c4a2ba1 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -733,7 +733,8 @@ and TARGET arguments." (#$installer #$bootloader #$device #$target)))))) (define* (perform-action action os - #:key install-bootloader? + #:key skip-safety-checks? + install-bootloader? dry-run? derivations-only? use-substitutes? bootloader-target target image-size file-system-type full-boot? @@ -750,7 +751,10 @@ When DERIVATIONS-ONLY? is true, print the derivation file name(s) without building anything. When GC-ROOT is a path, also make that path an indirect root of the build -output when building a system derivation, such as a disk image." +output when building a system derivation, such as a disk image. + +When SKIP-SAFETY-CHECKS? is true, skip the file system and initrd module +static checks." (define println (cut format #t "~a~%" <>)) @@ -760,7 +764,8 @@ output when building a system derivation, such as a disk image." ;; Check whether the declared file systems exist. This is better than ;; instantiating a broken configuration. Assume that we can only check if ;; running as root. - (when (memq action '(init reconfigure)) + (when (and (not skip-safety-checks?) + (memq action '(init reconfigure))) (check-mapped-devices os) (when (zero? (getuid)) (check-file-system-availability (operating-system-file-systems os)) @@ -933,6 +938,8 @@ Some ACTIONS support additional ARGS.\n")) --expose=SPEC for 'vm', expose host file system according to SPEC")) (display (G_ " --full-boot for 'vm', make a full boot sequence")) + (display (G_ " + --skip-checks skip file system and initrd module safety checks")) (newline) (display (G_ " -h, --help display this help and exit")) @@ -974,6 +981,9 @@ Some ACTIONS support additional ARGS.\n")) (option '("full-boot") #f #f (lambda (opt name arg result) (alist-cons 'full-boot? #t result))) + (option '("skip-checks") #f #f + (lambda (opt name arg result) + (alist-cons 'skip-safety-checks? #t result))) (option '("share") #t #f (lambda (opt name arg result) @@ -1067,6 +1077,8 @@ resulting from command-line parsing." #:derivations-only? (assoc-ref opts 'derivations-only?) #:use-substitutes? (assoc-ref opts 'substitutes?) + #:skip-safety-checks? + (assoc-ref opts 'skip-safety-checks?) #:file-system-type (assoc-ref opts 'file-system-type) #:image-size (assoc-ref opts 'image-size) #:full-boot? (assoc-ref opts 'full-boot?) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 12 08:57:55 2018 Received: (at control) by debbugs.gnu.org; 12 Mar 2018 12:57:55 +0000 Received: from localhost ([127.0.0.1]:56117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN1X-0003Sf-6D for submit@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:55 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN1V-0003SX-DW for control@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:53 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DCCDD1237C for ; Mon, 12 Mar 2018 13:57:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FGjYHm4RcRSQ for ; Mon, 12 Mar 2018 13:57:52 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 48AC211D56 for ; Mon, 12 Mar 2018 13:57:52 +0100 (CET) Date: Mon, 12 Mar 2018 13:57:51 +0100 Message-Id: <876061qwmo.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30760 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 30760 'initrd-modules' check has false positives From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 12 08:57:59 2018 Received: (at control) by debbugs.gnu.org; 12 Mar 2018 12:57:59 +0000 Received: from localhost ([127.0.0.1]:56120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN1b-0003Sx-Bf for submit@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:59 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evN1Z-0003So-U5 for control@debbugs.gnu.org; Mon, 12 Mar 2018 08:57:58 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 61B76123A2 for ; Mon, 12 Mar 2018 13:57:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Et0hps5-G2S for ; Mon, 12 Mar 2018 13:57:56 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A447611D56 for ; Mon, 12 Mar 2018 13:57:56 +0100 (CET) Date: Mon, 12 Mar 2018 13:57:56 +0100 Message-Id: <874lllqwmj.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30760 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 30760 important From unknown Mon Jun 23 07:52:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30760: guix system init broken on non GuixSD Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Mar 2018 15:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30760@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 30760-submit@debbugs.gnu.org id=B30760.152086847011749 (code B ref 30760); Mon, 12 Mar 2018 15:28:01 +0000 Received: (at 30760) by debbugs.gnu.org; 12 Mar 2018 15:27:50 +0000 Received: from localhost ([127.0.0.1]:57100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evPMc-00033R-Gf for submit@debbugs.gnu.org; Mon, 12 Mar 2018 11:27:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evPMa-00033D-Oq for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 11:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evPMU-0004sd-Ps for 30760@debbugs.gnu.org; Mon, 12 Mar 2018 11:27:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evPMM-0004jx-LT; Mon, 12 Mar 2018 11:27:34 -0400 Received: from gw-prague.gooddata.com ([212.47.19.46]:40944 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1evPML-0004Ig-VP; Mon, 12 Mar 2018 11:27:34 -0400 Date: Mon, 12 Mar 2018 16:27:32 +0100 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20180312152732.a7km7vad4gack5ww@doom> References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> <20180312132437.2a4b2ca7@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i5atgaodoekcvppn" Content-Disposition: inline In-Reply-To: <20180312132437.2a4b2ca7@scratchpost.org> User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --i5atgaodoekcvppn Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Mon, Mar 12, 2018 at 01:24:37PM +0100, Danny Milosavljevic wrote: >> I'm afraid this is still not correct. >> >> # guix system init config.scm /mnt/mnt/ >> ... >> config.scm:64:9: error: you may need these modules in the initrd for /dev/nvme0n1p2: shpchp >> hint: Try adding them to the `initrd-modules' field of your `operating-system' declaration, along these lines: >> >> (operating-system >> ;; ... >> (initrd-modules (append (list "shpchp") >> %base-initrd-modules))) >> >> I don't have `shpchp` as a module as I have it compiled into kernel >> directly. Can I somehow disable the check? > >I think it's a good idea to add a command-line switch that disables the check. > >But then people will just disable the check always and it won't improve until >it's correct. It's still a good idea to give people the choice. Just small note - In my case I always run `system build` before `system init` so I don't mind having any deeper analysis based on code and configuration as long as it is correct. Maybe more people is using same approach. Best regards, S_W --i5atgaodoekcvppn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqmnGMACgkQSiPjT6Az Q2342w//ew11+etlGdln2lPWiVKDYmxfsh3qrlGUTpL+GLcRceT90zvVnVzLW4D8 cpArlynNU/KwPkeGXbct/7Jn0SwZ9I4X1JjJxcDtW7cAJ+pQ0DGToZBc4fkBfOi2 PzroPtYiZIuF6GQzXAgGddEh0qsPCGYzxGQKc+ROplCpc94Jwwf0Wlyho16v3xWI W/K5OGO334Frn7quDy1harSL1FWPc0BEuzP4ercxKt1hHKxruhro/kJoxsy2eZ4u F4ojEBUlBPqde/URyWJaB/YlUOBlpc1HRs5+Xx/5EPCXO+CQKVcsQCYWIaTSCmf0 WYxx/S4NvyV5gfiDTTVQYJ9TObpgYusM/OcoI9XIOYvR2R7OuIaDpWxsErLRbWle 86CComHYbh0Hx3BQ4jREZpLPz6pPeWlpgg5ujJS95MAN2AluyHSz5zpvWrnVoeLJ 1NUTwtgvu+H63jF62sYvGTaGj3qGjaEAVW1ulIgXnJx/dQ/J2VQbu2GBv0h6HezD b6BJpaSrJwu2yN4c3FFa++Pe3yJ2RDZLXsF5K/OdYEReK0t66E5RtfdhX5e6QTlu e1cYdDeX3l1iuK/9rmH+m5CmrdO5C4C6qwl95ONiEK8oKSReYNwG33NoVPF5gHl4 /j0jp1EHGU/j8p/LNf1mFcgExym5VIfZXI3VhQ8t7m8ouDyYST8= =MFok -----END PGP SIGNATURE----- --i5atgaodoekcvppn-- From unknown Mon Jun 23 07:52:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#30760: closed (Re: bug#30760: guix system init broken on non GuixSD) Message-ID: References: <87lgetvcui.fsf@gnu.org> <20180309173530.wfdw356rf53tesck@doom> X-Gnu-PR-Message: they-closed 30760 X-Gnu-PR-Package: guix Reply-To: 30760@debbugs.gnu.org Date: Thu, 15 Mar 2018 10:44:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1521110643-31993-1" This is a multi-part message in MIME format... ------------=_1521110643-31993-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30760: 'initrd-modules' check has false positives which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30760@debbugs.gnu.org. --=20 30760: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30760 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1521110643-31993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30760-done) by debbugs.gnu.org; 15 Mar 2018 10:43:05 +0000 Received: from localhost ([127.0.0.1]:34091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewQLh-0008In-I8 for submit@debbugs.gnu.org; Thu, 15 Mar 2018 06:43:05 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:53978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewQLf-0008If-Fw for 30760-done@debbugs.gnu.org; Thu, 15 Mar 2018 06:43:03 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E6FD512BF4; Thu, 15 Mar 2018 11:43:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qo07zfqvaf2v; Thu, 15 Mar 2018 11:43:02 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2DD4D12A10; Thu, 15 Mar 2018 11:43:02 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#30760: guix system init broken on non GuixSD References: <20180309173530.wfdw356rf53tesck@doom> <20180309231543.2ede5fa1@scratchpost.org> <87efksyioy.fsf@gnu.org> <20180309235221.49e695d9@scratchpost.org> <87woykx2ef.fsf@gnu.org> <20180310063219.bxgl7bgspxu2o5ez@doom> <874llmuwc5.fsf@gnu.org> <20180312091923.q47b3mrhzsl4vr75@doom> <20180312132437.2a4b2ca7@scratchpost.org> <877eqhqwnv.fsf@gnu.org> Date: Thu, 15 Mar 2018 11:43:01 +0100 In-Reply-To: <877eqhqwnv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 12 Mar 2018 13:57:08 +0100") Message-ID: <87lgetvcui.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30760-done Cc: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= , 30760-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Nevertheless, the risk of false-positives obviously exists, hence the > need for an escape hatch. > > What about the attached patch? Pushed as 61b1dbbdcd87f6b37d6b87715a9a4da4e63485ab. Thanks, Ludo=E2=80=99. ------------=_1521110643-31993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 17:35:44 +0000 Received: from localhost ([127.0.0.1]:52735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvj-0004Lf-MB for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLvi-0004LQ-0m for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvb-0001yi-W3 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euLvb-0001yb-S2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLva-0007pn-LR for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euLvY-0001xQ-Ia for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:33 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euLvY-0001xK-E0 for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Received: from [2a00:c500:22e:1d3:903b:6b2c:84e4:bd83] (port=54698 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1euLvX-000225-LA for bug-guix@gnu.org; Fri, 09 Mar 2018 12:35:32 -0500 Date: Fri, 9 Mar 2018 18:35:30 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: bug-guix@gnu.org Subject: guix system init broken on non GuixSD Message-ID: <20180309173530.wfdw356rf53tesck@doom> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yf77p6gar6vmta2j" Content-Disposition: inline User-Agent: NeoMutt/20170912 (1.9.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --yf77p6gar6vmta2j Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline `guix system init` seems to be broken for non GuixSD distirbutions: When I tried it on openSUSE: # guix system --no-bootloader init /Devel/git/guix-config/config.scm /mnt/mnt/ ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /root/.config/guix/latest/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go ;;; note: source file /Devel/extra/gnu/packages/connman.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/gnu/packages/connman.go guix system: error: open-file: No such file or directory: "/run/booted-system/kernel/lib/modules/4.15.6-1-default/modules.alias" 4.15.6-1-default is version of my running kernel, but not defined as package - it is not expected to be used for guix call. /run/booted-system/ is specific for GuixSD. --yf77p6gar6vmta2j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlqixdsACgkQSiPjT6Az Q23sXw//XroEKiZmNhdRcSWcJA6tqd+aKd8rIpcrgyjm0rnR5lroN/2R2Kek8JyQ UOXodbVN8g+E0EBVJUPw1m5P+86hPncehqYowZKEv9zVRtVzMhOu7f95PxoZ5Zg4 rOiD4FlA5ARzThe9SIbOfi1fSgqxXfyzstJQ7jVZgK9tTFaDgMzj1CZRMd5mnPGE n4RwrpGe/tvyF3xUaVyFe0fSTA0QDmfLwGyKD7fzVRwi0eY2LmGktw1eZkIohWOh 0GV0RP9tBXUQ8R0weaTdDkuvEMHnb922mzTqdxc1IsG063LkFWmiT2x64Q0r/Odt Symhmt9TH/MR0VWX1XXBWh7uKETUcRKzzDucz3Ayw43Tfr1yDZHhiJ1rB6xMk+UF qR3Li+KXah25SGlBFT5KWmCW2L5SPx4lksd5WQ5K4JUzZbfXgfCH1hLdyDacg0Nm Gn+Rz4AUHIlrzjG1UsyMVzRRj1xE6NIl90GLFK6EtwkulGMivG1irlyiTFgrToaN HoRfgAKB1bEozOWWmlr0U0bVXayBncSqN31NDAo/einCeU/OqlPOjp+G4OcJDe8b jCYfpG+Qvtr/DIP/qT5tcIaK38qt+nznyTrxwTzMlEK+CF5HJg2UNjVgZwWLK5h+ ol7gtjJL089BE8cogbxwr6W/A9FgOO/VK027+8q3HNNPRRG4diM= =PcsC -----END PGP SIGNATURE----- --yf77p6gar6vmta2j-- ------------=_1521110643-31993-1--