Have a nice day, everybody!
On 2 of my PC systems sporting an OpenMandriva partition, the most recent major system upgrade or the last update to bash lead to a non-bootable operating system.
Furthermore, on both PCs it was not even possible for local secondary/tertiary Linux-based operation systems to arch-chroot or (on another OMV partition) chroot into the defective OMV system.
Investing many hours, I was able to repair both partitions myself.
Long story short:
Trying arch-chroot/OMV’s chroot, both failed with an error message/info remark stating (a “symbol”/”bash symbol” in?) “rl_completion_rewrite_hook” cannot be found/is missing. Web search for “rl_completion_rewrite_hook“ guided me mostly to the “readline” software and bash.
On my arch-based OS, I downloaded the archive “readline-8.3.tar.gz” and the “libreadline8-8.3-1-omv2590.x86_64.rpm” package from pkgs.org. I extracted their contents and copied the following files manually to every place where very similar files already existed.
- libreadline.so
- libreadline.so.6
- libreadline.so.7
- libreadline.so.8
- libreadline.so.8.3
- libhistory.so
- libhistory.so.8
- libhistory.so.8.3
- chardefs.h
- history.h
- keymaps.h
- readline.h
- rlconf.h
- rlstdc.h
- rltypedefs.h
- tilde.h
For already existing older files of the exactly same name I decided to rename them by adding a “-_-“ string both in front of and at the very end of its original name.
I reckon only some of the above files and/or directory paths were/would have been necessary, don’t know.
After those manual file additions and replacements, both non-bootable & non-chrootable OMV partitions were working again almost like nothing had ever happened. The exception(s) were warning/info remarks on the upper end of Konsole decrying a lack of some “libncurses” package. So I used dnf to install everything “libncurses”-esque. Then the Konsole message/prompt had vanished.
.
So, my question to myself (and perhaps to OMV maintainers) is: Could it be OMV repos are lacking dependencies for/on/of bash or anything, namely readline-8.3 and/or libreadline8-8.3-1?
(Possibly that “libncurses” thing is also wanted/Wanted For, but I cannot tell an exact package name. And Konsole or dnf itself called attention to that being absent. Most importantly, this problem did not hinder booting.)
Maybe someone wants to dig into the issue.
Kind regards
Tachyonenstrahl
.
[EDIT/P.S.: (The screenshots show the second defective OMV partition’s file system. That second one is quite old. I used it for reproduction and research/troubleshooting. So do not get puzzled/in surprise by the old software on the screenshot. My current OMV was hit be this “rl_completion_rewrite_hook“ lack problem first, then I repeated/reproduced it on the unused old kinsman.)]






