X-Loop: help-debbugs@HIDDEN Subject: bug#66102: guix system delete-generations ignores grub-configuration terminal-ouputs field setting Resent-From: Maze <maze@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 19 Sep 2023 14:36:02 +0000 Resent-Message-ID: <handler.66102.B.16951341411198 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66102 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66102 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16951341411198 (code B ref -1); Tue, 19 Sep 2023 14:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2023 14:35:41 +0000 Received: from localhost ([127.0.0.1]:57624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qibpF-0000JG-30 for submit <at> debbugs.gnu.org; Tue, 19 Sep 2023 10:35:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gcggb-bug-guix@HIDDEN>) id 1qibp9-0000It-QF for submit <at> debbugs.gnu.org; Tue, 19 Sep 2023 10:35:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <gcggb-bug-guix@HIDDEN>) id 1qibos-0005dl-R5 for bug-guix@HIDDEN; Tue, 19 Sep 2023 10:35:18 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <gcggb-bug-guix@HIDDEN>) id 1qiboo-0006tS-L7 for bug-guix@HIDDEN; Tue, 19 Sep 2023 10:35:17 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from <gcggb-bug-guix@HIDDEN>) id 1qiboc-0006U7-9T for bug-guix@HIDDEN; Tue, 19 Sep 2023 16:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Maze <maze@HIDDEN> Date: Tue, 19 Sep 2023 22:12:52 +0800 Message-ID: <87cyyei74r.fsf@HIDDEN> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:Vkl6YwdEtaCcK2KHfSnbzoBNfjg= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggb-bug-guix@HIDDEN; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) I deleted old generations of my system today and I think I noticed an incorrect behavior. In most cases this would be just a minor temporary badness, maybe (just maybe) in the case of some exotic or ancient hardware, a variant of the same issue could results in an unbootable system. At the end of a 'guix system delete-generations' command, the bootloader setup is updated for the current system. However, in my case, the setting defined by the terminal-outputs field of the bootloader-configuration record of my system configuration is not taken into account by this step. I use the console output of GRUB. In the event it matters, I should mention that I have the filesystem on an encrypted partition: I input the passphrase once at GRUB rescue before the GRUB menu, then a second time when I'm prompted by the initrd. How to reproduce, then workaround: 1. Reconfigure an operating system with something like: (bootloader-configuration ... (terminal-outputs '(console)) ...) 2. Reboot, you should see a non-graphical GRUB menu with a blue background. 3. Delete some generations, for example by running: guix system delete-generations 1..N (with N some integer) 4. Reboot immediately without reconfiguring your system. If you see a guixified graphical background for the GRUB menu, then this is the bug, since it's not what's configured for the current system. This ought to be the gfxterm output of GRUB. 5. Reconfigure your system: guix system reconfigure /path/to/system.scm 6. Reboot, and check that you see a non-graphical blue background GRUB menu again. Issue is worked around, presumably until the next time generations are deleted.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maze <maze@HIDDEN> Subject: bug#66102: Acknowledgement (guix system delete-generations ignores grub-configuration terminal-ouputs field setting) Message-ID: <handler.66102.B.16951341411198.ack <at> debbugs.gnu.org> References: <87cyyei74r.fsf@HIDDEN> X-Gnu-PR-Message: ack 66102 X-Gnu-PR-Package: guix Reply-To: 66102 <at> debbugs.gnu.org Date: Tue, 19 Sep 2023 14:36:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 66102 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66102: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66102 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 28 Oct 2023 09:58:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 05:58:58 2023 Received: from localhost ([127.0.0.1]:37793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qwg5q-0003Hk-0N for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 05:58:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1qwg5n-0003HM-Qw for control <at> debbugs.gnu.org; Sat, 28 Oct 2023 05:58:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1qwg5C-0005uu-LI for control <at> debbugs.gnu.org; Sat, 28 Oct 2023 05:58:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=a6i3/4vA6oGI+W4UgPb8FbnlTA1WuJMGG5VcqgjqRMo=; b=bvdftfQWlCpJo6 0RXN+IEFsx8eaBLrjMsjh/ZzVAEzHBknopIEL9UF3i7REpmDimfeGyrowsmZLIfeDPJYf/uDO0Xni QIzyosnWyqAwMQDgeHlBv5jiFu/qhNj/7xh9C4uI+U4AMtpTr+sjLkUJNotaWlSIyevSlEbZDbF97 mfxovSOG5/kCfcLJBbOdL6ac/3fOAG9igqZdM3jhNsjdSm7wb+kJPIgfGtpbWvmDXJOD/4RpjVH8L xQSHaz29SAiX6xxYxcdIJildBU4q+pjUdt7/Xxw0E3Zo4Z9AuFnl8dnnr7zz5L871ZM5tE6WKCJtk nV8TTvRHJMdQDY8dGCzw==; Date: Sat, 28 Oct 2023 11:58:13 +0200 Message-Id: <8734xv9ih6.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #66102 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 66102 important quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.