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: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-29 09:23 UTC by Mateusz Piotrowski
Modified: 2019-04-01 14:14 UTC (History)
3 users (show)

See Also:


Attachments

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
Usage:
        bsdconfig [-h]
        bsdconfig command [-h]
        bsdconfig [OPTIONS] [command [OPTIONS]]

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).

COMMANDS:
        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
-------------------
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_ALL=
```

I'm running FreeBSD 13.0-CURRENT r345416 GENERIC  amd64.