Bug 1128898

Summary: Havana and Icehouse python-neutronclient packages placing bash completion file in wrong directory
Product: [Community] RDO Reporter: Jacob Walcik <jwalcik>
Component: python-neutronclientAssignee: lpeer <lpeer>
Status: CLOSED DUPLICATE QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: chrisw, jwalcik, lars, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-28 20:48:02 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 Jacob Walcik 2014-08-11 18:56:31 UTC
Description of problem: The file to add bash completion support for the Neutron CLI client is being placed in the wrong directory. This is causing errors to appear at login for users who have their shell set to ksh instead of bash.

The file that is being placed at /etc/profile.d/neutron.sh should be in /etc/bash_completion.d instead.

Version-Release number of selected component (if applicable):
python-neutronclient-2.3.4-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install python-neutronclient-2.3.4-1.el6.noarch (standalone or as part of a RDO install)
2. Create new user, set user's shell to /bin/ksh
3. Login or use "su -" to switch to alternate user

Actual results:
[root@controller01 profile.d]# su - testuser
/etc/profile[70]: .[241]: complete: not found [No such file or directory]
$

Expected results:
[root@havana ~]# su - testuser
$

Additional info:

Comment 1 Lars Kellogg-Stedman 2015-03-28 20:48:02 UTC

*** This bug has been marked as a duplicate of bug 1128896 ***