nvme-cli drops bash completion file in wrong location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvme-cli (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Heitor Alves de Siqueira | ||
Cosmic |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[impact]
The nvme-cli tool includes a bash completion script, but it drops it in the wrong location. This prevents it from actually being sourced and so the nvme tool doesn't do param autocompletion.
[test case]
install the nvme-cli package and try to auto-complete any of its params. They do not auto-complete.
check if the bash auto-completion script is correctly located at:
/usr/share/
[regression potential]
moving where this bash autocompletion file is only has the potential to break nvme's autocompletion.
[scope]
fixed upstream in commit df3a06243da0433
that is included starting in version 1.7, so Eoan and later are already fixed. This package does not provide any bash completion script in Xenial. So only Bionic needs fixing.
[other info]
no longer affects: | nvme-cli (Ubuntu Xenial) |
Changed in nvme-cli (Ubuntu Cosmic): | |
status: | In Progress → Won't Fix |
Changed in nvme-cli (Ubuntu): | |
status: | In Progress → Fix Released |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: sts-sponsor-volunteer |
Changed in nvme-cli (Ubuntu Cosmic): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in nvme-cli (Ubuntu Bionic): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in nvme-cli (Ubuntu): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in nvme-cli (Ubuntu Bionic): | |
status: | In Progress → New |
description: | updated |
Changed in nvme-cli (Ubuntu Bionic): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
status: | New → In Progress |
tags: |
added: sts-sponsor-halves removed: sts-sponsor-volunteer |
Xenial nvme-cli doesn't provide any bash completion script; this is needed only in bionic/cosmic.