Bug 1408173

Summary: undefined function "_have" in bash completions
Product: [Fedora] Fedora EPEL Reporter: Dave Love <dave.love>
Component: lxcAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: jeffdafoe, karlthered, lav, pokorra.mailinglists, sagarun, steve.traylen, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-25 13:03:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.