To make thinking this is an LXC bug as oppose to a JuJu one because lxc- ls is python and so can be affected by environment variables makes as much sense as blaming a C program for having a different behaviour when your code change PATH or LD_PRELOAD.
Marking this invalid for LXC (I'm not opposed to dh_python3 changing the shebang to -Es but I won't do this pre-emptively in lxc). ** Changed in: lxc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1130809 Title: lxc scripts break when user has PYTHONPATH set To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/1130809/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs