Juju lxc/python3 issue on raring
Martin Packman
martin.packman at canonical.com
Mon Apr 8 15:16:01 UTC 2013
On 08/04/2013, Barry Warsaw <barry at ubuntu.com> wrote:
> On Apr 08, 2013, at 09:22 AM, Kapil Thangavelu wrote:
>
>>I was talking to curtis and barry about this last week. The issue is the
>>env that juju python env vars are leaking through to the subprocess calls,
>>stripping them out explicitly in the subprocess lxc calls should do the
>>trick.
That's what I got Alan to check first, and there wasn't anything
python related...
<http://irclogs.ubuntu.com/2013/03/25/%23juju.html#t13:56>
Testing this theory with a juju branch now though, he does indeed have
PYTHONPATH with stuff in it, and stripping it appears to make things
work.
> I just updated LP: #1159020 with additional recommendations, which is to
> make
> sure that all your Python shebang lines run Python with the -Es flags.
> We're
> trying to make this recommended/default for system scripts in Debian and
> Ubuntu, but that will take time.
Thanks. So, all the lxc scripts should really have that added? We can
work around this at the juju level, but I'm not convinced that's the
right approach.
Martin
More information about the Juju
mailing list