Bug 236872 - bsdconfig: can't open file /usr/libexec/bsdconfig/*/INDEX.en_GB.UTF-8
Summary: bsdconfig: can't open file /usr/libexec/bsdconfig/*/INDEX.en_GB.UTF-8
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Devin Teske
Depends on:
Reported: 2019-03-29 09:23 UTC by Mateusz Piotrowski
Modified: 2020-03-18 20:18 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer 2019-03-29 09:23:27 UTC
I get unexpected output from bsdconfig(8). Here's the output of `(bsdconfig xxx; echo -------------------; locale)`:

awk: can't open file /usr/libexec/bsdconfig/*/INDEX.en_GB.UTF-8
 source line number 4
awk: can't open file /usr/local/libexec/bsdconfig/*/INDEX.en_GB.UTF-8
 source line number 4
awk: can't open file /usr/local/libexec/bsdconfig/*/INDEX
 source line number 4
bsdconfig: xxx: not found
        bsdconfig [-h]
        bsdconfig command [-h]
        bsdconfig [OPTIONS] [command [OPTIONS]]

        -d         Provide lots of debugging info on standard-out when running.
        -D file    Send debugging info to file. If file begins with a plus-sign
                   debug info is sent to both standard-out and file (minus the
                   leading plus).
        -f file    Load file as script and then exit. If multiple occurrences,
                   program will only exit after last occurrence. If file is a
                   single dash (`-'), bsdconfig reads from standard input.
        -h         Print this usage statement and exit.
        -S         Secure X11 mode (implies `-X'). As root, always prompt-for
                   and validate sudo(8) username/password before starting.
        -X         Use Xdialog(1) in place of dialog(1).

        api                 console             defaultrouter       diskmgmt            docsinstall         dot
        groupadd            groupdel            groupedit           groupmgmt           hostname            includes
        kern_securelevel    mouse               mouse_disable       mouse_enable        mouse_flags         mouse_port
        mouse_type          nameservers         netdev              networking          packages            password
        security            startup             startup_misc        startup_rcadd       startup_rcconf      startup_rcdelete
        startup_rcvar       syscons_font        syscons_keymap      syscons_repeat      syscons_saver       syscons_screenmap
        syscons_ttys        timezone            ttys                useradd             userdel             useredit
        usermgmt            vt_font             vt_keymap           vt_repeat           vt_saver            vt_screenmap
        vt_ttys             wifi                wireless            wlan

I'm running FreeBSD 13.0-CURRENT r345416 GENERIC  amd64.
Comment 1 nti 2020-03-18 16:31:37 UTC
same with 12.1p2 and "INDEX.de_DE.UTF-8"

awk: can't open file /usr/libexec/bsdconfig/*/INDEX.de_DE.UTF-8
 source line number 4
Comment 2 Devin Teske freebsd_committer 2020-03-18 20:17:48 UTC
I have a fix over in my development branch that I have to merge over to FreeBSD