ubuntu-sso scripts use #!/usr/bin/env python

Bug #1009423 reported by Roman Yepishev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Confirmed
Undecided
Unassigned
ubuntu-sso-client (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

rtg@delorean:/usr/lib/ubuntu-sso-client$ head -n 1 *
==> ubuntu-sso-login <==
#!/usr/bin/env python

==> ubuntu-sso-login-gtk <==
#!/usr/bin/env python

==> ubuntu-sso-login-qt <==
#!/usr/bin/env python

==> ubuntu-sso-proxy-creds-qt <==
#!/usr/bin/env python

==> ubuntu-sso-ssl-certificate-qt <==
#!/usr/bin/env python

http://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html
The preferred specification for the Python interpreter is /usr/bin/python or /usr/bin/pythonX.Y. This ensures that a Debian installation of python is used and all dependencies on additional python modules are met.

If a maintainer would like to provide the user with the possibility to override the Debian Python interpreter, he may want to use /usr/bin/env python or /usr/bin/env pythonX.Y. However this is not advisable as it bypasses Debian's dependency checking and makes the package vulnerable to incomplete local installations of python.

At least once this resulted in ValueError: Unable to guess signature from an empty dict for a user with a custom python installation in /usr/local.

Roman Yepishev (rye)
description: updated
summary: - ubuntu-sso scripts use #!/usr/bin/env python, violate Debian Python
- Policy
+ ubuntu-sso scripts use #!/usr/bin/env python
Revision history for this message
Aaron Cossey (aaron-cossey) wrote :

Confirmed.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu-sso-client (Ubuntu):
status: New → Confirmed
Changed in ubuntu-sso-client:
status: New → Confirmed
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.