2012-06-06 10:47:53 |
Roman Yepishev |
bug |
|
|
added bug |
2012-06-06 10:48:16 |
Roman Yepishev |
bug task added |
|
ubuntu-sso-client (Ubuntu) |
|
2012-06-06 10:53:03 |
Roman Yepishev |
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. |
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. |
|
2012-06-06 10:53:40 |
Roman Yepishev |
summary |
ubuntu-sso scripts use #!/usr/bin/env python, violate Debian Python Policy |
ubuntu-sso scripts use #!/usr/bin/env python |
|
2012-06-06 12:16:21 |
Aaron Cossey |
ubuntu-sso-client (Ubuntu): status |
New |
Confirmed |
|
2012-06-06 12:16:44 |
Aaron Cossey |
ubuntu-sso-client: status |
New |
Confirmed |
|
2012-07-19 22:08:33 |
dobey |
marked as duplicate |
|
984089 |
|