Bug 1674432 - dnf hangs using bash completion
Summary: dnf hangs using bash completion
Keywords:
Status: CLOSED DUPLICATE of bug 1625674
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 29
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-11 10:52 UTC by mobidyc
Modified: 2019-08-16 12:46 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-16 12:46:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
terminal output using set -x (11.51 KB, text/x-mpsub)
2019-02-11 10:52 UTC, mobidyc
no flags Details

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 ***


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