Bug ID | 1157997 |
---|---|
Summary | lxc-bash-completion |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE Factory |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Containers |
Assignee | containers-bugowner@suse.de |
Reporter | kira@kiralein.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 Build Identifier: The package lxc-bash-completion is broken. It installs a bash completion for "lxc", but there is no "lxc" binary. All binaries are combinations like lxc-start or lxc-attach. I've fixed the issue locally by creating a symlink for every lxc binary: cd /usr/bin/ for i in `ls lxc-*`; do ( cd /usr/share/bash-completion/completions; ln -sf lxc "$i"; ); done But of course this should be fixed in the package building spec. It's possible there is even a make target for this purpose (see lxc-3.2.1/config/bash/Makefile after configure, it has the target install-dist_bashcompDATA kind regards, Kira Reproducible: Always Steps to Reproduce: 1. Install lxc-bash-completion 2. Type lxc-start -n 3. Now press tab and you should see a list of existing linux containers Actual Results: Autocompletion doesn't work. Can be temporarily fixed by typing source /usr/share/bash-completion/completions/lxc