From unknown Thu Jun 19 14:28:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66102 <66102@debbugs.gnu.org> To: bug#66102 <66102@debbugs.gnu.org> Subject: Status: guix system delete-generations ignores grub-configuration terminal-ouputs field setting Reply-To: bug#66102 <66102@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:28:46 +0000 retitle 66102 guix system delete-generations ignores grub-configuration ter= minal-ouputs field setting reassign 66102 guix submitter 66102 Maze severity 66102 important thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 19 10:35:41 2023 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 ) id 1qibpF-0000JG-30 for submit@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 ) id 1qibp9-0000It-QF for submit@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 ) id 1qibos-0005dl-R5 for bug-guix@gnu.org; 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 ) id 1qiboo-0006tS-L7 for bug-guix@gnu.org; Tue, 19 Sep 2023 10:35:17 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qiboc-0006U7-9T for bug-guix@gnu.org; Tue, 19 Sep 2023 16:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: Maze Subject: guix system delete-generations ignores grub-configuration terminal-ouputs field setting Date: Tue, 19 Sep 2023 22:12:52 +0800 Message-ID: <87cyyei74r.fsf@pkbd.org> 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@m.gmane-mx.org; 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-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: -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. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 05:58:58 2023 Received: (at control) by debbugs.gnu.org; 28 Oct 2023 09:58:58 +0000 Received: from localhost ([127.0.0.1]:37793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwg5q-0003Hk-0N for submit@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 ) id 1qwg5n-0003HM-Qw for control@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 ) id 1qwg5C-0005uu-LI for control@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@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= 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@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: -3.3 (---) severity 66102 important quit