Project

General

Profile

Actions

Bug #6311

closed

Some scripts assume the location of python

Added by Alan Somers over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The following scripts' shebang strings all hardcode python's location to /usr/bin/python. They don't work on FreeBSD, where python is at /usr/local/bin/python. They should all be updated to use "/usr/bin/env python". Some of the qa scripts also hardcode python's location, but I haven't even determined they can even run on FreeBSD. Still, it's best to update all of them.

src/ceph-create-keys
src/ceph-disk
src/ceph-rest-api
src/objsync/boto_del.py
src/pybind/ceph_rest_api.py
src/script/perf-watch.py

Actions #1

Updated by Ian Colle over 10 years ago

  • Assignee set to Dan Mick
Actions #2

Updated by Dan Mick over 10 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Dan Mick over 10 years ago

  • Status changed from Fix Under Review to Resolved
  • Backport set to dumpling
Actions

Also available in: Atom PDF