X-Loop: [email protected] Subject: bug#697: /etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot Reply-To: "John E. Krokes" <[email protected]>, [email protected] Resent-From: "John E. Krokes" <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Tue, 02 Aug 2022 09:06:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 697 X-Devuan-PR-Package: xen-hypervisor-common X-Devuan-PR-Keywords: Received: via spool by [email protected] id=B.165943107928044 (code B); Tue, 02 Aug 2022 09:06:02 +0000 Received: (at submit) by bugs.devuan.org; 2 Aug 2022 09:04:39 +0000 Delivered-To: [email protected] Received: from mail.dyne.org [141.95.83.167] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 02 Aug 2022 09:04:39 +0000 (UTC) Received: from decay.netherworld.org (decay.netherworld.org [38.100.53.5]) by mail.dyne.org (Postfix) with ESMTP id D32366618E7 for <[email protected]>; Tue, 2 Aug 2022 11:04:03 +0200 (CEST) Received: from decay.netherworld.org (localhost [127.0.0.1]) by decay.netherworld.org (8.17.1/8.17.1) with ESMTP id 271Kfrqc016737; Mon, 1 Aug 2022 16:41:54 -0400 Received: (from mag@localhost) by decay.netherworld.org (8.17.1/8.17.1/Submit) id 271KfraA016736; Mon, 1 Aug 2022 16:41:53 -0400 X-Authentication-Warning: decay.netherworld.org: mag set sender to [email protected] using -f Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "John E. Krokes" <[email protected]> To: Devuan Bug Tracking System <[email protected]> Message-ID: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> Date: Mon, 01 Aug 2022 16:41:53 -0400 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Package: xen-hypervisor-common Version: 4.14.5+24-g87d90d511c-1 Severity: minor File: /etc/default/grub.d/xen.cfg Dear Maintainer, When invoked via grub-mkconfig, xen.cfg outputs this as its first line: Including Xen overrides from /etc/default/grub.d/xen.cfg The output of grub-mkconfig is expected to be redirected into a grub.cfg file. Grub will read the grub.cfg at boot. Unfortunately, "Including" is not a valid grub command. So when booting, grub emits this error message before displaying its menu: error: can't find command `Including'. The error message is obscured very quickly. It does not affect functionality in any way. It requires booting on a VERY slow machine in order to read the error message at all. If I add a '#' to the start of the "Including", the resulting grub config file boots with no error. echo "#Including Xen overrides from /etc/default/grub.d/xen.cfg" I'm not sure if this line was intended to go into the generated config file as a comment, or if it was intended to be shown to the user while grub-mkconfig is running. I have observed this and tested my fix against version 4.14.5+24-g87d90d511c-1 of xen-hypervisor-common. I have also checked with the debian git at https://salsa.debian.org/xen-team/debian-xen/-/blob/master/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg. This line has not changed in a very long time. I can also duplicate the behavior using grub-emu, with the output redirected to a file. Thanks for your time. -Mag -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (chimaera) Release: 4 Codename: chimaera Architecture: x86_64 Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled -- Configuration Files: /etc/default/grub.d/xen.cfg changed: echo "Including Xen overrides from /etc/default/grub.d/xen.cfg" XEN_OVERRIDE_GRUB_DEFAULT=0 if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "" ]; then echo "WARNING: GRUB_DEFAULT changed to boot into Xen by default!" echo " Edit /etc/default/grub.d/xen.cfg to avoid this warning." XEN_OVERRIDE_GRUB_DEFAULT=1 fi if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "1" ]; then GRUB_DEFAULT=$( \ printf "$(gettext "%s, with Xen hypervisor")" \ "$GRUB_DISTRIBUTOR GNU/Linux") fi -- no debconf information
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 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: "John E. Krokes" <[email protected]> Subject: bug#697: Acknowledgement (/etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot) Message-ID: <[email protected]> References: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> X-Devuan-PR-Message: ack 697 X-Devuan-PR-Package: xen-hypervisor-common Reply-To: [email protected] Date: Tue, 02 Aug 2022 09:06:07 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 697: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D697. 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): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 697: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D697 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#697: /etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Tue, 02 Aug 2022 15:52:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 697 X-Devuan-PR-Package: xen-hypervisor-common X-Devuan-PR-Keywords: References: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> Received: via spool by [email protected] id=B697.16594554714649 (code B ref 697); Tue, 02 Aug 2022 15:52:02 +0000 Received: (at 697) by bugs.devuan.org; 2 Aug 2022 15:51:11 +0000 Delivered-To: [email protected] Received: from mail.dyne.org [141.95.83.167] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 02 Aug 2022 15:51:11 +0000 (UTC) Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.dyne.org (Postfix) with ESMTPS id 95FC366187C for <[email protected]>; Tue, 2 Aug 2022 17:50:32 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1oIuAA-0004A9-ON; Tue, 02 Aug 2022 16:50:30 +0100 Received: (nullmailer pid 17052 invoked by uid 1000); Tue, 02 Aug 2022 15:50:29 -0000 Date: Tue, 2 Aug 2022 16:50:29 +0100 From: Mark Hindley <[email protected]> To: "John E. Krokes" <[email protected]>, [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> X-Spam-Status: No, score=0.4 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RDNS_DYNAMIC,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Control: tags -1 debian John, Thanks. On Mon, Aug 01, 2022 at 04:41:53PM -0400, John E. Krokes wrote: > Package: xen-hypervisor-common > Version: 4.14.5+24-g87d90d511c-1 > Severity: minor > File: /etc/default/grub.d/xen.cfg Neither grrub nor xen are forked in Devuan and we use Debian's packages directly without recompilation. Please report this issue to Debian's BTS to be addressed. Thanks Mark
Received: (at 697) by bugs.devuan.org; 2 Aug 2022 15:51:11 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from mail.dyne.org [141.95.83.167] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 02 Aug 2022 15:51:11 +0000 (UTC) Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.dyne.org (Postfix) with ESMTPS id 95FC366187C for <[email protected]>; Tue, 2 Aug 2022 17:50:32 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1oIuAA-0004A9-ON; Tue, 02 Aug 2022 16:50:30 +0100 Received: (nullmailer pid 17052 invoked by uid 1000); Tue, 02 Aug 2022 15:50:29 -0000 Date: Tue, 2 Aug 2022 16:50:29 +0100 From: Mark Hindley <[email protected]> To: "John E. Krokes" <[email protected]>, [email protected] Subject: Re: bug#697: /etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot Message-ID: <[email protected]> References: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> X-Debbugs-No-Ack: No Thanks X-Spam-Status: No, score=0.4 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RDNS_DYNAMIC,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Control: tags -1 debian John, Thanks. On Mon, Aug 01, 2022 at 04:41:53PM -0400, John E. Krokes wrote: > Package: xen-hypervisor-common > Version: 4.14.5+24-g87d90d511c-1 > Severity: minor > File: /etc/default/grub.d/xen.cfg Neither grrub nor xen are forked in Devuan and we use Debian's packages directly without recompilation. Please report this issue to Debian's BTS to be addressed. Thanks Mark
Received: (at control) by bugs.devuan.org; 11 Jan 2023 10:03:01 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 10:03:01 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id pXCKKimJvmMybAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 11 Jan 2023 10:02:17 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 95DB4B85; Wed, 11 Jan 2023 10:02:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS, TVD_SPACE_RATIO autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id DF3AA226 for <[email protected]>; Wed, 11 Jan 2023 10:02:16 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pFXvz-0000lI-6j for [email protected]; Wed, 11 Jan 2023 10:02:15 +0000 Received: (nullmailer pid 9613 invoked by uid 1000); Wed, 11 Jan 2023 10:02:15 -0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: bug 697 is forwarded to https://bugs.debian.org/1016547 Date: Wed, 11 Jan 2023 10:02:15 +0000 User-Agent: devscripts bts/2.22.2 Message-ID: <[email protected]> forwarded 697 https://bugs.debian.org/1016547 thanks
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#697: marked as done (/etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot) Message-ID: <[email protected]> References: <Y76Km/[email protected]> <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> X-Devuan-PR-Message: closed 697 X-Devuan-PR-Package: xen-hypervisor-common X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Wed, 11 Jan 2023 10:10:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1673431802-4325-0" This is a multi-part message in MIME format... ------------=_1673431802-4325-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Wed, 11 Jan 2023 10:08:27 +0000 with message-id <Y76Km/[email protected]> and subject line Fixed in Debian #1016547 has caused the Devuan bug report #697, regarding /etc/default/grub.d/xen.cfg: Extraneous output line causes error = message at boot to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) --=20 697: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D697 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1673431802-4325-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 2 Aug 2022 09:04:39 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from mail.dyne.org [141.95.83.167] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 02 Aug 2022 09:04:39 +0000 (UTC) Received: from decay.netherworld.org (decay.netherworld.org [38.100.53.5]) by mail.dyne.org (Postfix) with ESMTP id D32366618E7 for <[email protected]>; Tue, 2 Aug 2022 11:04:03 +0200 (CEST) Received: from decay.netherworld.org (localhost [127.0.0.1]) by decay.netherworld.org (8.17.1/8.17.1) with ESMTP id 271Kfrqc016737; Mon, 1 Aug 2022 16:41:54 -0400 Received: (from mag@localhost) by decay.netherworld.org (8.17.1/8.17.1/Submit) id 271KfraA016736; Mon, 1 Aug 2022 16:41:53 -0400 X-Authentication-Warning: decay.netherworld.org: mag set sender to [email protected] using -f Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "John E. Krokes" <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: /etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot Message-ID: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> Date: Mon, 01 Aug 2022 16:41:53 -0400 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Package: xen-hypervisor-common Version: 4.14.5+24-g87d90d511c-1 Severity: minor File: /etc/default/grub.d/xen.cfg Dear Maintainer, When invoked via grub-mkconfig, xen.cfg outputs this as its first line: Including Xen overrides from /etc/default/grub.d/xen.cfg The output of grub-mkconfig is expected to be redirected into a grub.cfg file. Grub will read the grub.cfg at boot. Unfortunately, "Including" is not a valid grub command. So when booting, grub emits this error message before displaying its menu: error: can't find command `Including'. The error message is obscured very quickly. It does not affect functionality in any way. It requires booting on a VERY slow machine in order to read the error message at all. If I add a '#' to the start of the "Including", the resulting grub config file boots with no error. echo "#Including Xen overrides from /etc/default/grub.d/xen.cfg" I'm not sure if this line was intended to go into the generated config file as a comment, or if it was intended to be shown to the user while grub-mkconfig is running. I have observed this and tested my fix against version 4.14.5+24-g87d90d511c-1 of xen-hypervisor-common. I have also checked with the debian git at https://salsa.debian.org/xen-team/debian-xen/-/blob/master/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg. This line has not changed in a very long time. I can also duplicate the behavior using grub-emu, with the output redirected to a file. Thanks for your time. -Mag -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (chimaera) Release: 4 Codename: chimaera Architecture: x86_64 Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled -- Configuration Files: /etc/default/grub.d/xen.cfg changed: echo "Including Xen overrides from /etc/default/grub.d/xen.cfg" XEN_OVERRIDE_GRUB_DEFAULT=0 if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "" ]; then echo "WARNING: GRUB_DEFAULT changed to boot into Xen by default!" echo " Edit /etc/default/grub.d/xen.cfg to avoid this warning." XEN_OVERRIDE_GRUB_DEFAULT=1 fi if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "1" ]; then GRUB_DEFAULT=$( \ printf "$(gettext "%s, with Xen hypervisor")" \ "$GRUB_DISTRIBUTOR GNU/Linux") fi -- no debconf information ------------=_1673431802-4325-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 697-done) by bugs.devuan.org; 11 Jan 2023 10:09:02 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 10:09:02 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id U/eTOZyKvmOFbAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 11 Jan 2023 10:08:28 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4509B85; Wed, 11 Jan 2023 10:08:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 88233226 for <[email protected]>; Wed, 11 Jan 2023 10:08:28 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pFY1z-0000oP-Hx for [email protected]; Wed, 11 Jan 2023 10:08:27 +0000 Received: (nullmailer pid 11287 invoked by uid 1000); Wed, 11 Jan 2023 10:08:27 -0000 Date: Wed, 11 Jan 2023 10:08:27 +0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: Fixed in Debian #1016547 Message-ID: <Y76Km/[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debbugs-No-Ack: No Thanks Version: 4.16.2-1 ------------=_1673431802-4325-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: "John E. Krokes" <[email protected]> Subject: bug#697 closed by Mark Hindley <[email protected]> (Fixed in Debian #1016547) Message-ID: <[email protected]> References: <Y76Km/[email protected]> <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> X-Devuan-PR-Message: they-closed 697 X-Devuan-PR-Package: xen-hypervisor-common X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Wed, 11 Jan 2023 10:10:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1673431805-4325-1" This is a multi-part message in MIME format... ------------=_1673431805-4325-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the xen-hypervisor-common package: #697: /etc/default/grub.d/xen.cfg: Extraneous output line causes error mess= age at boot It has been closed by Mark Hindley <[email protected]>. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mark Hindley <mark@hin= dley.org.uk> by replying to this email. --=20 697: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D697 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1673431805-4325-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 697-done) by bugs.devuan.org; 11 Jan 2023 10:09:02 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 10:09:02 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id U/eTOZyKvmOFbAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 11 Jan 2023 10:08:28 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4509B85; Wed, 11 Jan 2023 10:08:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 88233226 for <[email protected]>; Wed, 11 Jan 2023 10:08:28 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pFY1z-0000oP-Hx for [email protected]; Wed, 11 Jan 2023 10:08:27 +0000 Received: (nullmailer pid 11287 invoked by uid 1000); Wed, 11 Jan 2023 10:08:27 -0000 Date: Wed, 11 Jan 2023 10:08:27 +0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: Fixed in Debian #1016547 Message-ID: <Y76Km/[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debbugs-No-Ack: No Thanks Version: 4.16.2-1 ------------=_1673431805-4325-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 2 Aug 2022 09:04:39 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from mail.dyne.org [141.95.83.167] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 02 Aug 2022 09:04:39 +0000 (UTC) Received: from decay.netherworld.org (decay.netherworld.org [38.100.53.5]) by mail.dyne.org (Postfix) with ESMTP id D32366618E7 for <[email protected]>; Tue, 2 Aug 2022 11:04:03 +0200 (CEST) Received: from decay.netherworld.org (localhost [127.0.0.1]) by decay.netherworld.org (8.17.1/8.17.1) with ESMTP id 271Kfrqc016737; Mon, 1 Aug 2022 16:41:54 -0400 Received: (from mag@localhost) by decay.netherworld.org (8.17.1/8.17.1/Submit) id 271KfraA016736; Mon, 1 Aug 2022 16:41:53 -0400 X-Authentication-Warning: decay.netherworld.org: mag set sender to [email protected] using -f Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "John E. Krokes" <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: /etc/default/grub.d/xen.cfg: Extraneous output line causes error message at boot Message-ID: <165938651342.16705.8672993380929509725.reportbug@decay.netherworld.org> Date: Mon, 01 Aug 2022 16:41:53 -0400 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Package: xen-hypervisor-common Version: 4.14.5+24-g87d90d511c-1 Severity: minor File: /etc/default/grub.d/xen.cfg Dear Maintainer, When invoked via grub-mkconfig, xen.cfg outputs this as its first line: Including Xen overrides from /etc/default/grub.d/xen.cfg The output of grub-mkconfig is expected to be redirected into a grub.cfg file. Grub will read the grub.cfg at boot. Unfortunately, "Including" is not a valid grub command. So when booting, grub emits this error message before displaying its menu: error: can't find command `Including'. The error message is obscured very quickly. It does not affect functionality in any way. It requires booting on a VERY slow machine in order to read the error message at all. If I add a '#' to the start of the "Including", the resulting grub config file boots with no error. echo "#Including Xen overrides from /etc/default/grub.d/xen.cfg" I'm not sure if this line was intended to go into the generated config file as a comment, or if it was intended to be shown to the user while grub-mkconfig is running. I have observed this and tested my fix against version 4.14.5+24-g87d90d511c-1 of xen-hypervisor-common. I have also checked with the debian git at https://salsa.debian.org/xen-team/debian-xen/-/blob/master/debian/tree/xen-hypervisor-common/etc/default/grub.d/xen.cfg. This line has not changed in a very long time. I can also duplicate the behavior using grub-emu, with the output redirected to a file. Thanks for your time. -Mag -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (chimaera) Release: 4 Codename: chimaera Architecture: x86_64 Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled -- Configuration Files: /etc/default/grub.d/xen.cfg changed: echo "Including Xen overrides from /etc/default/grub.d/xen.cfg" XEN_OVERRIDE_GRUB_DEFAULT=0 if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "" ]; then echo "WARNING: GRUB_DEFAULT changed to boot into Xen by default!" echo " Edit /etc/default/grub.d/xen.cfg to avoid this warning." XEN_OVERRIDE_GRUB_DEFAULT=1 fi if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "1" ]; then GRUB_DEFAULT=$( \ printf "$(gettext "%s, with Xen hypervisor")" \ "$GRUB_DISTRIBUTOR GNU/Linux") fi -- no debconf information ------------=_1673431805-4325-1--
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Sun, 1 Dec 2024 00:39:02 UTC