Bug 1408173 - undefined function "_have" in bash completions
Summary: undefined function "_have" in bash completions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: lxc
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-22 11:09 UTC by Dave Love
Modified: 2018-02-25 13:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-25 13:03:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Love 2016-12-22 11:09:35 UTC
Description of problem:

The lxc bash completion script uses undefined function "_have", so loading
completions generally produces

-bash: _have: command not found

Version-Release number of selected component (if applicable):

lxc-1.0.9-1.el6.x86_64

Comment 1 Steve Traylen 2017-01-23 10:16:45 UTC
Hi,

Is the upstream bug and super trivial patch to apply to the package hopefully.

https://github.com/lxc/lxc/pull/1389

Comment 2 Thomas Moschny 2017-01-23 10:50:07 UTC
This was changed by upstream in this commit: https://github.com/lxc/lxc/commit/3db8dd39a797f87f8b348f1b6b44953a25f3f170 so I am unsure, what the 'official' API really is.

Of course it's easy to fix this in our package - however, I'm waiting for https://github.com/lxc/lxc/pull/1386 to land before spinning an update.

Comment 3 Steve Traylen 2017-01-23 13:27:35 UTC
It was rejected upstream quite correctly since the api to bash_completion has changed and '_bash' is now correct thing to do.

So I believe the patch should be back-ported into this el6 lxc version to
support the el6 version of bash_completion.

Comment 4 Steve Traylen 2017-02-02 10:36:11 UTC
ping.

Comment 5 Fedora Update System 2017-06-10 15:16:28 UTC
lxc-1.0.10-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-23f4cb5d02

Comment 6 Fedora Update System 2017-06-11 23:50:34 UTC
lxc-1.0.10-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-23f4cb5d02

Comment 7 Fedora Update System 2017-07-30 19:46:29 UTC
lxc-1.0.10-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.