[Bug 1384327] [NEW] lxc-attach --clear-env results in a limited $PATH in the container

Simon Déziel 1384327 at bugs.launchpad.net
Wed Oct 22 18:33:53 UTC 2014


On 10/22/2014 02:05 PM, Serge Hallyn wrote:
> Really to me the bug seems to be that sysconf(_SC_PATH) on ubuntu isn't giving
> the path that root gets by default.

Thanks Serge, so I agree with you that's not LXC's fault. Though, with
such a limited PATH, lxc-attach is much less convenient to work with, IMHO.

I'm coming from OpenVZ where I used "vzctl enter/exec" frequently and
now I'm trying to find an equivalent command for LXC so it's quite
possible I'm looking at the wrong tool. In which case, a hint would be
appreciated ;)

If lxc-attach is the right tool for the job, would you mind, when you
have time, moving the bug to the appropriate package as I can't find
which one it should be.

Regards,
Simon

-- 
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/1384327

Title:
  lxc-attach --clear-env results in a limited $PATH in the container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1384327/+subscriptions



More information about the Ubuntu-server-bugs mailing list