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: bashAssignee: Siteshwar Vashisht <svashisht>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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:

Description Duncan Roe 2025-06-02 07:59:21 UTC
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)

Comment 1 Duncan Roe 2025-06-09 00:58:20 UTC
It turns out that bash creates the binary loadable builtins during `make install`.

Comment 2 Fedora Release Engineering 2026-05-06 13:06:49 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Duncan Roe 2026-05-11 23:52:50 UTC
Hi Guys I raised this 11 months ago. What's the holdup?