[SSSD] [PATCH] Use python2 in shebang for python scripts.
Jakub Hrozek
jhrozek at redhat.com
Wed Jun 18 12:50:32 UTC 2014
On Fri, Jun 06, 2014 at 06:04:44PM +0200, Sumit Bose wrote:
> On Fri, Jun 06, 2014 at 04:55:55PM +0200, Lukas Slebodnik wrote:
> > On (06/06/14 15:58), Lukas Slebodnik wrote:
> > >On (06/06/14 15:37), Sumit Bose wrote:
> > >>On Fri, Jun 06, 2014 at 03:01:55PM +0200, Lukas Slebodnik wrote:
> > >>> ehlo,
> > >>>
> > >>> A user reported problem with the sss_obfuscate script on sssd-users mailing
> > >>> list[1]. The problem was that default version of python was not python 2.x.
> > >>>
> > >>> We have a ticket fot python 3 support https://fedorahosted.org/sssd/ticket/2017
> > >>> Meanwhile, we should have python2 in shebang.
> > >>
> > >>I think it is a good idea to get some interim fix, but are you sure that
> > >>python2 is always available?
> > >>
> > >I tested few distributions (rhel{5,6,7} fedora20 debian7 ubuntu14.04)
> > >and python2 was symling either to python or directly to python{2.4, 2.6, 2.7}
> > >
> > >Output from my machine:
> > >
> > >sh-4.2$ file /usr/bin/python* | grep -v "\-config"
> > >/usr/bin/python: symbolic link to `python2'
> > >/usr/bin/python2: symbolic link to `python2.7'
> > >/usr/bin/python2.7: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=c1ba1105c6afac0aef79c52433cf491afbcfa57a, stripped
> > >/usr/bin/python3: symbolic link to `python3.3'
> > >/usr/bin/python3.3: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=bb0a9af774944500709b9a0dd273ae42bffc978b, stripped
> > >/usr/bin/python3.3m: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=bb0a9af774944500709b9a0dd273ae42bffc978b, stripped
> > >
> > Resending with ticket url in commit message.
> >
> > LS
>
> Thank you.
>
> ACK
>
> bye,
> Sumit
Pushed to master: 73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1
More information about the sssd-devel
mailing list