Bug 630328

Summary: Completion for RPM disables filename completion.
Product: [Fedora] Fedora Reporter: Björn Persson <bjorn>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: sheltren, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bash-completion-1.2-4.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-17 04:51:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Björn Persson 2010-09-04 20:07:33 UTC
Description of problem:
When bash-completion is installed, Bash won't complete filenames in rpm commands.

Version-Release number of selected component (if applicable):
bash-completion-1.2-2.fc13.noarch

How reproducible:
Always.

Steps to Reproduce:
rpm --query --file /e<tab>

Actual results:
Nothing happens.

Expected results:
"/e" should be completed as "/etc/" as no other files in the root directory start with e.

Additional info:
Deleting /etc/bash_completion.d/rpm and starting a new shell makes filename completion work again.

Comment 1 Ville Skyttä 2010-09-04 20:46:24 UTC
The problem is that the --file option (ditto --group and --package) is not treated properly, will take a look at fixing it upstream.  Use -f instead of --file to work around it in the meantime.

Comment 3 Fedora Update System 2010-10-03 21:53:55 UTC
bash-completion-1.2-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/bash-completion-1.2-3.fc14

Comment 4 Fedora Update System 2010-10-03 22:06:11 UTC
bash-completion-1.2-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/bash-completion-1.2-3.fc13

Comment 5 Fedora Update System 2010-10-04 17:28:04 UTC
bash-completion-1.2-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/bash-completion-1.2-3.el5

Comment 6 Fedora Update System 2010-10-05 09:31:35 UTC
bash-completion-1.2-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update bash-completion'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/bash-completion-1.2-3.fc13

Comment 7 Fedora Update System 2010-10-06 20:43:38 UTC
bash-completion-1.2-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-10-17 04:51:01 UTC
bash-completion-1.2-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-10-25 16:34:37 UTC
bash-completion-1.2-4.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.