NetBSD Problem Report #58066

From www@netbsd.org  Sat Mar 23 03:21:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 85AE61A923A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Mar 2024 03:21:10 +0000 (UTC)
Message-Id: <20240323032109.9DE011A923B@mollari.NetBSD.org>
Date: Sat, 23 Mar 2024 03:21:09 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: missing efi var/boot tools in base
X-Send-Pr-Version: www-1.0

>Number:         58066
>Category:       bin
>Synopsis:       missing efi var/boot tools in base
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 23 03:25:00 +0000 2024
>Last-Modified:  Sat Mar 23 03:30:03 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10
>Organization:
The NetEFI Foundation
>Environment:
>Description:
As of NetBSD 10 we have a /dev/efi interface, but no tools to operate on it, e.g. to query or set EFI variables or configure the EFI boot manager.
>How-To-Repeat:

>Fix:
FreeBSD as of 11.1 has efivar(8), efidp(8), and efibootmgr(8):

https://man.freebsd.org/cgi/man.cgi?query=efivar&manpath=FreeBSD+14.0-RELEASE+and+Ports
https://man.freebsd.org/cgi/man.cgi?query=efidp&manpath=FreeBSD+14.0-RELEASE+and+Ports
https://man.freebsd.org/cgi/man.cgi?query=efibootmgr&manpath=FreeBSD+14.0-RELEASE+and+Ports

We can probably just import those.

>Audit-Trail:
From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Cc: 
Subject: Re: bin/58066: missing efi var/boot tools in base
Date: Sat, 23 Mar 2024 03:27:57 +0000

 Looks like there's another option, based on redhat's efi tools --
 appears to have been (mostly?) ported to BSDs already:

 https://github.com/3mdeb/efivar/

 Currently in pkgsrc-wip at wip/efibootmgr and wip/efivar (but no efidp
 like FreeBSD).

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.