/usr/bin can be prefixed to PATH

Bug #1591377 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-ci-tools
Triaged
Medium
Unassigned

Bug Description

juju-ci-tools prefixes the directory containing juju to PATH. This is so that juju finds the right copy of whatever plugins it ships with. But it can backfire when /usr/bin/juju* is used. If two copies of a plugin are installed, e.g. one in /usr/local/bin, the other in /usr/bin, this PATH manipulation will cause the /usr/bin version to be selected, instead of the /usr/local/bin version.

This happened to me, and I mistakenly filed bug #1588908 as a result.

juju-ci-tools should select the plugins packaged with juju, but no others. It should not interfere with other plugin lookup, so it should not force /usr/bin early into the PATH.

Revision history for this message
Torsten Baumann (torbaumann) wrote :

aaron thinks a day or 2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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