I'm saying this is not a bug because the limited path is by design. Your system in fact is telling lxc which path to use as the default.
If you think that rather than take the value from the system through sysconf, we should always use a longer PATH, then that could be discussed on the lxc-devel mailing list. Really to me the bug seems to be that sysconf(_SC_PATH) on ubuntu isn't giving the path that root gets by default. -- 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 -- 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