Bug 2369713
| Summary: | Fedora should provide the bash loadable builtins directory /usr/lib/bash/ but it does not | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Duncan Roe <duncan_roe> |
| Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 42 | CC: | admiller, duncan_roe, kasal, kdudka, svashisht, zsanter |
| Target Milestone: | --- | Keywords: | EasyFix |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
It turns out that bash creates the binary loadable builtins during `make install`. |
Loadable builtins are quite mature at bash version 5.2.37(1)-release (x86_64-redhat-linux-gnu). But Fedora ships without the /usr/lib/bash/ directory where bash's make install puts the binaries. Although the sources reside in the examples/loadables/ directory, the distributed ones are supported. Debian & Ubuntu provide the loadable builtins in a package called "bash-builtins". Slackware comes with loadable builtins installed as part of bash. I suggest Fedora takes one of the above approaches. Historical Note: Loadable builtins first appeared in bash 2.0. Binaries (what Fedora still lacks) appeared in bash 4.4. Reproducible: Always Steps to Reproduce: 1. $ enable -f finfo finfo 2. 3. Actual Results: -bash: enable: cannot open shared object finfo: finfo: cannot open shared object file: No such file or directory $ Expected Results: $ Additional Information: `help finfo` should now give you: finfo: finfo [-acdgiflmnopsuACGMPU] file [file...] Display information about file attributes. (and lots more)