libedit no longer reads editrc

Bug #1921484 reported by Karoly Negyesi
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

strings /usr/lib/x86_64-linux-gnu/libedit.so.2.0.56 |grep editrc in Ubuntu 18.04 LTS returns /.editrc as expected but strings /usr/lib/x86_64-linux-gnu/libedit.so.2.0.63 |grep editrc in Ubuntu 20.04 LTS comes back empty. Verified with strace'ing the mysql client as well: editrc is no longer picked up, making mysql rather irritating to use. Peeking at the source code, the problematic commit is d253f567 which wraps the editrc code in an "#ifdef HAVE_ISSETUGID" which is BSD only. I am unable to find upstream in version control to help further.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libedit (Ubuntu):
status: New → Confirmed
Revision history for this message
roger espel llima (rogerespel) wrote :

Same here, mysql command line used to read bindings from .editrc in previous versions of Ubuntu Server, now fails to honor them in 20.04 LTS. Strace confirms that libedit is not opening the file .editrc.

Revision history for this message
Norbert Möndjen (nobbe64) wrote :

The bug is still there. Rendering the mysql client almost useless. You can not work efficient with the mysql client without proper keybindings. Either put mysql pack to readline or make libedit to read .editrc. It's a pity and it is annoying.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.