Bug 1476502 - Asterisk CLI not working - issue with libedit.so
Asterisk CLI not working - issue with libedit.so
Status: NEW
Product: Fedora
Classification: Fedora
Component: asterisk (Show other bugs)
Unspecified Linux
unspecified Severity high
: ---
: ---
Assigned To: Jared Smith
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-29 13:12 EDT by Joachim Jaeckel
Modified: 2018-05-03 04:07 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joachim Jaeckel 2017-07-29 13:12:12 EDT
Description of problem:
Asterisk CLI not working. Console echos gibberish when you try to enter a command

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. connect with putty to fedora system
2. asterisk -rv
3. Enter a line, eg. help

Actual results:
localhost*CLI> \U+AE68\U+AE65\U+AE6C\U+AE70

Expected results:
localhost*CLI> help
!                              -- Execute a shell command
... (help text)

Additional info:
Issue with libedit

1. mkdir /usr/local/lib64/asterisk
2. get older version of libedit.so (eg. from CentOS Linux release 7)
3. copy older version of libedit.so to /usr/local/lib64/asterisk (eg /usr/lib64/libedit.so.0.0.42)
4. make an alias
   alias asterisk='LD_PRELOAD=/usr/local/lib64/asterisk/libedit.so.0.0.42 asterisk'
5. asterisk -r will work as expected
Comment 1 Joachim Jaeckel 2017-07-29 13:14:33 EDT
maybe duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1376200
but this bug is for Fedora 26
Comment 2 Fedora End Of Life 2018-05-03 04:07:39 EDT
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. 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 Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 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, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

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