Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ej5Bi-0006pm-VW for mharc-grub-devel@gnu.org; Tue, 06 Feb 2018 10:29:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ej5Bg-0006pR-R7 for grub-devel@gnu.org; Tue, 06 Feb 2018 10:29:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ej5Bd-0008LX-M0 for grub-devel@gnu.org; Tue, 06 Feb 2018 10:29:36 -0500 Received: from boksu.net-space.pl ([185.15.1.105]:44868) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1ej5Bd-0008Kp-AM for grub-devel@gnu.org; Tue, 06 Feb 2018 10:29:33 -0500 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1826236AbeBFP3X (ORCPT ); Tue, 6 Feb 2018 16:29:23 +0100 Date: Tue, 6 Feb 2018 16:29:23 +0100 From: Daniel Kiper To: Steve McIntyre Cc: Daniel Kiper , The development of GNU GRUB , Steve McIntyre <93sam@debian.org> Subject: Re: [PATCH] Make grub-install check for errors from efibootmgr Message-ID: <20180206152923.GA15664@router-fw-old.local.net-space.pl> References: <20180130174405.GA11729@router-fw-old.local.net-space.pl> <20180131214936.19655-1-steve@einval.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180131214936.19655-1-steve@einval.com> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 15:29:37 -0000 On Wed, Jan 31, 2018 at 09:49:36PM +0000, Steve McIntyre wrote: > Code is currently ignoring errors from efibootmgr, giving users > clearly bogus output like: > > Setting up grub-efi-amd64 (2.02~beta3-4) ... > Installing for x86_64-efi platform. > Could not delete variable: No space left on device > Could not prepare Boot variable: No space left on device > Installation finished. No error reported. > > and then potentially unbootable systems. If efibootmgr fails, > grub-install should know that and report it! > > We've been using this patch in Debian now for some time, with no ill s/this/similar/? If you are OK I will change that during commit. > effects. > > Signed-off-by: Steve McIntyre <93sam@debian.org> If there are no objections I will commit this in a week or so. Daniel