Bug 1674432

Summary: dnf hangs using bash completion
Product: [Fedora] Fedora Reporter: mobidyc <mobidyc>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 29CC: dmach, jberan, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-16 12:46:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
terminal output using set -x none

Description mobidyc 2019-02-11 10:52:53 UTC
Created attachment 1528939 [details]
terminal output using set -x

Description of problem:
hang using bash completion with DNF


Version-Release number of selected component (if applicable):
dnf-4.0.9-2.fc29.noarch

Steps to Reproduce:
1. download a rpm file
2. got into the specified folder
3. start typing "dnf install <rpm starting name>"
4. terminal will not answer until you hit 2 times CTRL+C

Actual results:
terminal waits indefinitely


Expected results:
rpm file name completion


Additional info:
using "set -x" in the terminal ends with the following information (current path is never tested):

# Commands was:
# dnf install Virtu
{code}
+ _dnf_is_path Virtu
+ [[ Virtu == \.* ]]
+ [[ Virtu == \/* ]]
+ [[ Virtu == ~* ]]
+ return 1
{code}


Complete output in attachment

Comment 1 Jan Beran 2019-08-16 12:46:04 UTC

*** This bug has been marked as a duplicate of bug 1625674 ***