Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2023 18:13:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272077] loader defaults to kernel=kernel even if it doesn't exist
Message-ID:  <bug-272077-227-STPM1yTzbr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272077-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272077-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272077

--- Comment #3 from Kyle Evans <kevans@freebsd.org> ---
Created attachment 244259
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244259&action=
=3Dedit
Proposed patch

> - if the list of kernels is empty after attempted enumeration
>  - initialize it to getenv("kernels"):gmatch("([^;, ]+)[;, ]?")

This part I'm not sure I agree with; `kernels` is empty by default, so if i=
t's
populated then IMO we should be preserving that as the list of kernels first
and foremost with anything we can autodiscover after that to preserve some
semblance of the ordering the sysadmin may have intended -- especially since
autodiscovery is actually defaulted to on in defaults/loader.conf.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272077-227-STPM1yTzbr>