[Bug 287538] Installer error on setting regdomain

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Jul 2025 13:36:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287538

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a94dd3955a9f7ae51da152c31a4565c1a040c83c

commit a94dd3955a9f7ae51da152c31a4565c1a040c83c
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-07-14 18:32:53 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-07-22 08:21:46 +0000

    bsdinstall: wlanconfig: properly format regdomain dialog input

    Without the extra '\n' the dual-column ('REGD' '') are not properly
    separated for dialog which leads to an [misleading] error hidden on
    the command line:
            Error: --menu bad arguments items number.
    [Writing this I wonder why the dual-column input is needed].

    It is still unclear as to where the error message quoted in PR287538
    suddenly came from for 14.3-RELEASE given the code was broken since 2016
    (or noone ever noticed or reported).

    Looking at manual ifconfig output:
        ifconfig wlan0 country GB regdomain Expected
        -> ifconfig: unknown regdomain Expected
    and "ifconfig: " gets stripped by the script, which means the regdomain
    variable would have to be set to "Expected" or more likely to
    "Expected eval: Use: not found" which looks like a concatination of
    errors.

    Sponsored by:   The FreeBSD Foundation
    Fixes:          95ee591e83a91
    PR:             287538
    Reviewed by:    emaste, thj
    Differential Revision: https://reviews.freebsd.org/D51313

    (cherry picked from commit 5a1e2927d63ed6394b767088eb2d66676f275467)

 usr.sbin/bsdinstall/scripts/wlanconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.