Bug 2369713 - Fedora should provide the bash loadable builtins directory /usr/lib/bash/ but it does not
Summary: Fedora should provide the bash loadable builtins directory /usr/lib/bash/ but...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Siteshwar Vashisht
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-02 07:59 UTC by Duncan Roe
Modified: 2026-05-08 05:52 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.