Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591724 - app-shells/bash-completion-2.4 - {pvremove,vgcreate} bash completion doesn't work: command not found
Summary: app-shells/bash-completion-2.4 - {pvremove,vgcreate} bash completion doesn't ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL: https://github.com/scop/bash-completi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-20 10:50 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-07-02 19:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-20 10:50:14 UTC
To reproduce, type

  # vgcreate foo /dev/s[TAB]

After pressing TAB key your terminal will display

> # vgcreate foo /dev/s-bash:  : command not found


While you are look into this you may want to update completion of "lvcreate" as well to include support for "--size" parameter.



> sys-fs/lvm2-2.02.145-r2::gentoo was built with the following:
> USE="readline udev -clvm -cman -corosync -device-mapper-only -lvm1 -lvm2create_initrd -openais (-selinux) -static -static-libs -systemd -thin" ABI_X86="64"
> CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
> CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-20 10:55:22 UTC
Also, "lvcreate" completion doesn't understand "--extents" parameter. And when used, completion of the vgname parameter (the last parameter) doesn't work anymore.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-20 11:10:06 UTC
pvremove's completion hit the same problem.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-08-20 12:08:42 UTC
Feel like reporting this upstream? I ain't using lvm.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-20 12:33:01 UTC
Reported upstream.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-02 19:50:25 UTC
FWICS, the commit supposedly fixed it is included in 2.5+. Feel free to reopen if this still happens.