Bug 2170344
| Summary: | ovs-vsctl autocomplete misbehaving | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Martin Necas <mnecas> |
| Component: | openvswitch | Assignee: | Timothy Redaelli <tredaelli> |
| openvswitch sub component: | daemons and tools | QA Contact: | qding |
| Status: | CLOSED EOL | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | ctrautma, fleitner, jhsiao, tredaelli |
| Version: | RHEL 8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-10-08 17:49:14 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: | |||
I can replicate that also on latest master version and it seems the reason is that something changed on bash for shellshock, the bash completion script should be definitely fixed Patch sent upstream: http://patchwork.ozlabs.org/project/openvswitch/patch/d01ca95ca2979d191f4ebfe408f57d4e2407266b.1685120084.git.tredaelli@redhat.com/ Hi Timothy, Is this fixed upstream? This bug did not meet the criteria for automatic migration and is being closed. If the issue remains, please open a new ticket in https://issues.redhat.com/browse/FDP The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |
Description of problem: When adding a port to some bridge and pressing the tab for autocomplete, the ovs-vsctl throws an error. Version-Release number of selected component (if applicable): [root@ovs ~]# ovs-vsctl --version ovs-vsctl (Open vSwitch) 2.17.6 DB Schema 8.3.0 How reproducible: Steps to Reproduce: 1. ovs-vsctl add-port mybridge 2. *press tab* Actual results: [root@ovs ~]# ovs-vsctl add-port mybridge enp-bash: export: `BASH_FUNC_which%%': not a valid identifier -bash: export: `${which_declare}': not a valid identifier -bash: export: `)': not a valid identifier -bash: export: `|': not a valid identifier -bash: export: `/usr/bin/which': not a valid identifier -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: `$@': not a valid identifier -bash: export: `}': not a valid identifier Enter a new port: [root@ovs ~]$ ovs-vsctl add-port mybridge enp^C Expected results: Additional info: