#1053819 recutils: Please install bash-builtin into default load path

Package:
recutils
Source:
recutils
Description:
text-based databases called recfiles
Submitter:
Daniel Gröber
Date:
2024-02-29 15:18:13 UTC
Severity:
normal
#1053819#5
Date:
2023-10-11 22:59:54 UTC
From:
To:
Hi Sven,

your recutils package currently installs the recutils.so bash builtins
into /usr/lib/recutils/bash-builtins/readrec.so

While looking for the best place to put the builtins lib for one of my
packages I found that bash has an (apparently) undocumented default
load path for builtins: DEFAULT_LOADABLE_BUILTINS_PATH defined as

    /usr/local/lib/bash
    /usr/lib/bash
    /opt/local/lib/bash
    /usr/pkg/lib/bash
    /opt/pkg/lib/bash

So it may be a good idea to put all bash builtins in Debian into
/usr/lib/bash. Naturally it would be good to install a symlink at the
old location.

I would certainly appreciate being able to get rid of the ugly
hardcoded path in one of my other other projects using recutils :)

Let me know what you think.

Thanks,
--Daniel

#1053819#10
Date:
2024-02-29 15:17:04 UTC
From:
To: