SUSE Support

Here When You Need Us

Aborting tailf causes bash session to be corrupted

This document (000019885) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP4

Situation

When running a tailf and stop this with <ctrl><c> the bash console is broken. Characters being typed are not displayed and the prompt is displayed after each other when pressing enter. Only a reset brings the console back.
The file /etc/bash_completion.d/python-argcomplete exists.
In some cases the same issues have been seen when an echo (e.g. in a script) is stopped with <ctrl><c>.
The issue is often seen on Azure when the following package is installed:
  • azure-cli-2.0.81-4.1

Resolution

Update to bash-4.3-83.26.4 or greater. As a work around you can reset the console using the reset command.

Cause

This is a known issue in bash version 4.3 available on SUSE Linux Enterprise Server 12 SP4 and SP5.
The issue is described in the following github issue.
The issue is not present in bash version 4.4 used on SUSE Enterprise Server 15.
 

Status

Reported to Engineering

Additional Information

Removing the file /etc/bash_completion.d/python-argcomplete could be a workaround, but it has to be tested, if it causes no other problems.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019885
  • Creation Date: 18-Feb-2021
  • Modified Date:30-Jun-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.