GNU bug report logs - #30847
Cannot upgrade GuixSD due to check-device-initrd-modules

Previous Next

Package: guix;

Reported by: Adam Van Ymeren <adam <at> vany.ca>

Date: Sun, 18 Mar 2018 16:33:02 UTC

Severity: normal

Full log


Message #8 received at 30847 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Adam Van Ymeren <adam <at> vany.ca>
Cc: 30847 <at> debbugs.gnu.org
Subject: Re: bug#30847: Cannot upgrade GuixSD due to
 check-device-initrd-modules
Date: Sun, 18 Mar 2018 23:33:31 +0100
[Message part 1 (text/plain, inline)]
Hi Adam,

On Sun, 18 Mar 2018 12:32:18 -0400
Adam Van Ymeren <adam <at> vany.ca> wrote:

> Fundamentally I think the problem is that check-device-initrd-modules is
> checking modules for the currently running kernel which is not
> necessarily the kernel that I will be installing.

Yeah, otherwise it would have to build everything first.

> At the very least however it would be nice if I could override this
> check with a --i-know-what-im-doing flag of some sort.

It exists: --skip-checks

> It seems odd that check-device-initrd-modules will not prevent your
> installation from continuing if it can't find modules.alias, but if it
> can find it and you didn't specify the initrd-modules it thinks you need
> then it becomes a hard error that you can't override. 
> Perhaps it should
> always be a warning or prompt the user if they want to continue.

Yeah, I'd prefer a warning and sleep 5 since the result is not guaranteed to be
correct.

Also it would be possible to build a Frankenstein's monster version where it
checks the new kernel config and finds out which modules would be builtin
(that would involve a lot of Makefile and Kconfig parsing... ugh).

An additional more complete check (with the new kernel etc) at the end would
make sense.
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.