[SRU] python-novaclient installs broken symlink /etc/bash_completion.d

Bug #1172420 reported by Adam Gandelman
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned
Grizzly
Confirmed
Medium
Unassigned
Havana
Fix Released
Medium
Unassigned
python-novaclient (Ubuntu)
Fix Released
Medium
Unassigned
Raring
Won't Fix
Medium
Unassigned

Bug Description

python-novaclient's bash completion does not work, the package installs a broken sym link in /etc/bash_completion.d:

ubuntu@raring-04-24-1156:~$ ls -lh /etc/bash_completion.d/nova.bash_completion
lrwxrwxrwx 1 root root 53 Apr 5 17:39 /etc/bash_completion.d/nova.bash_completion -> /usr/share/doc/python-novaclient/nova.bash_completion
ubuntu@raring-04-24-1156:~$ ls /usr/share/doc/python-novaclient/nova.bash_completion
ls: cannot access /usr/share/doc/python-novaclient/nova.bash_completion: No such file or directory

--- Ubuntu SRU Justification ---

[Impact]
Bash completion is a relatively new feature in novaclient and is expected to work on Ubuntu. Currently, the package installs a broken symlink @ /etc/bash_completion.d/nova.bash_completion and bash completion does not function. The package does not actually install the nova.bash_completion file anywhere.

[Test Case]
Install python-novaclient, attempt to use bash completion to complete 'nova' arguments or complete UUIDs of cloud resources (images, instances, etc).

[Regression potential]
The fix requires installing either the target of the broken link, or installing the bash completion file directly into /etc/bash_completion.d/. Either fix poses minimal regression risk.

Related branches

Changed in python-novaclient (Ubuntu):
status: New → Confirmed
Changed in cloud-archive:
status: New → Confirmed
Changed in python-novaclient (Ubuntu Raring):
status: New → Confirmed
Changed in python-novaclient (Ubuntu):
importance: Undecided → Medium
Changed in python-novaclient (Ubuntu Raring):
importance: Undecided → Medium
Changed in cloud-archive:
importance: Undecided → Medium
summary: - python-novaclient installs broken symlink /etc/bash_completion.d
+ [SRU] python-novaclient installs broken symlink /etc/bash_completion.d
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-novaclient - 1:2.14.1-0ubuntu1

---------------
python-novaclient (1:2.14.1-0ubuntu1) saucy; urgency=low

  [ Chuck Short ]
  * New upstream release.
  * debian/control: Add python-pbr and python-d2to1 as build depends.
  * debian/control: Add python-testtools and testrepository as build depends.
  * debian/rules: Run testr without the need for extra dependencies.

  [ Yolanda Robla ]
  * debian/tests: added autopkgtests

  [ James Page ]
  * d/control: Update VCS fields for new branch locations.

  [ Adam Gandelman ]
  * debian/{links, install, preinst}: Drop links, install bash completion
    directly to /etc/bash_completion.d/. Add preinst to remove broken symlink
    ahead of unpacking conffile. (LP: #1172420)
 -- Chuck Short <email address hidden> Tue, 13 Aug 2013 08:52:34 -0400

Changed in python-novaclient (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in python-novaclient (Ubuntu Raring):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.