memcached_hooks.py uses /usr/bin/env python

Bug #1576458 reported by Brad Marshall
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
memcached (Juju Charms Collection)
Fix Released
High
Felipe Reyes

Bug Description

As of revision 72, the memcached charm uses:

  #!/usr/bin/env python

in memcached_hooks.py, which is symlinked to by all the hooks. This fails with xenial, as there is no python binary in the path by default:

  2016-04-29 00:18:15 INFO install /usr/bin/env: 'python': No such file or directory

As this is also the install hook, we can't install a package which includes it either.

Related branches

Revision history for this message
Alvaro Uria (aluria) wrote :

By running "make sync" (download latest charmhelpers version) on revno=72 and previously installing "python" pkg, memcached charm was deployed successfully.

Changed in memcached (Juju Charms Collection):
status: New → Fix Committed
importance: Undecided → High
Felipe Reyes (freyes)
Changed in memcached (Juju Charms Collection):
assignee: nobody → Felipe Reyes (freyes)
Felipe Reyes (freyes)
tags: added: sts
Revision history for this message
Felipe Reyes (freyes) wrote :

Pushed to the charmstore in revision 15

Changed in memcached (Juju Charms Collection):
status: Fix Committed → Fix Released
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.