Bug 512625
| Summary: | TAB completion fails with error message | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | bash-completion | Assignee: | Ville Skyttä <ville.skytta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | rrakus, sheltren, twaugh, ville.skytta |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | bash-completion-1.2-2.fc14.noarch | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-31 14:34:43 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
Horst H. von Brand
2009-07-19 23:20:02 UTC
I can't reproduce it. What do you have in /? Please provide me output of: ls -aQ / | grep "^\"t" What I have is bog-standard Fedora / $ ls -aQ / | grep "^\"t" "tmp" I get the same with e.g. "/b<TAB>" or "/bi<TAB>". But it seems only with rpm, as for example "ls -l $(< /t<TAB>" does nothing (no expansion, either). Some completion stuff? BTW, this is a root shell started via "su -" in a gnome-terminal. Tried in a regular tty, both for root and my regular user account I get the above, but only for "rpm -e $(< /t<TAB>", not for "ls -l $(< /t<TAB>" Tried on another, (mostly) freshly installed rawhide x86_64 machine via ssh to my regular account + screen, same results. Used my test account here (no configuration), same results. This looks like you have installed bash-completion, right? I'm unable to reproduce it without bash-completion, but with it there is bad completions. But I don't get error you described above. So, do you have installed bash-completion rpm? Yes, I have bash-completion-1.0-3.fc12.noarch here. I also have completions for git (from git) in my account, but not at the other machine nor in the test account. Since I can't reproduce this in pure bash changing component to bash-completion. The error message comes from rpm; bash-completion ends up invoking basically rpm -qa --nodigest --nosignature '$(< /t*' Looks like the problem is more generic than that - bash-completion breaks command substitution completions, reported upstream: https://alioth.debian.org/tracker/index.php?func=detail&aid=311858&group_id=100114&atid=413095 Now bash-completion-1.0-4.fc12.noarch. No more error message, but no suggested expansion (not for "rpm $(< /t<TAB>" nor for "ls -l $(< /t<TAB>"). There are no changes between -3.fc12 and -4.fc12 that could affect this, it's just a rebuild. Perhaps something changed in rpm or bash simultaneously. Anyway, see comment 6 and the linked bug report - unfortunately I think getting this fixed is going to take quite a while. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed by bash-4.1.7-4.fc15.x86_64. Sorry I didn't check back earlier. Other possibly relevant versions: bash-completion-1.2-2.fc14.noarch rpm-4.8.1-5.fc15.x86_64 |