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:
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/