[Bug 1921484] Re: libedit no longer reads editrc

roger espel llima 1921484 at bugs.launchpad.net
Tue May 18 11:37:15 UTC 2021


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libedit in Ubuntu.
https://bugs.launchpad.net/bugs/1921484

Title:
  libedit no longer reads editrc

Status in libedit package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/1921484/+subscriptions



More information about the foundations-bugs mailing list