[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
This bug was fixed in the package lxc - 1.1.5-0ubuntu0.15.04.3 --- lxc (1.1.5-0ubuntu0.15.04.3) vivid-proposed; urgency=medium * Cherry-pick from upstream: - Fix preserve_ns to work on < 3.8 kernels. (LP: #1516971) - Fix process title rewrite to not mangle the environment. (LP: #1517107) lxc (1.1.5-0ubuntu0.15.04.2) vivid-proposed; urgency=medium * Cherry-pick from upstream: - Fix ubuntu-cloud template to detect compression algorithm instead of hardcoding xz. Also update list of supported releases and use trusty as the fallback release. (LP: #1515463) * Update lxc-tests description to make it clear that this package is meant to be used by developers and by automated testing. lxc (1.1.5-0ubuntu0.15.04.1) vivid-proposed; urgency=medium * New upstream bugfix release (MRE) (1.1.5) (LP: #1497420, LP: #1436723, LP: #1441068, LP: #1504496, LP: #1466458, LP: #1510619) * Drop proxy detection from the autopkgtest exercise script. -- Stéphane GraberWed, 18 Nov 2015 13:41:23 -0500 ** Changed in: lxc (Ubuntu Vivid) Status: Fix Committed => Fix Released ** Changed in: lxc (Ubuntu Wily) Status: Fix Committed => Fix Released -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
This bug was fixed in the package lxc - 1.1.5-0ubuntu0.15.10.3 --- lxc (1.1.5-0ubuntu0.15.10.3) wily-proposed; urgency=medium * Cherry-pick from upstream: - Fix preserve_ns to work on < 3.8 kernels. (LP: #1516971) - Fix process title rewrite to not mangle the environment. (LP: #1517107) lxc (1.1.5-0ubuntu0.15.10.2) wily-proposed; urgency=medium * Cherry-pick from upstream: - Fix ubuntu-cloud template to detect compression algorithm instead of hardcoding xz. Also update list of supported releases and use trusty as the fallback release. (LP: #1515463) * Update lxc-tests description to make it clear that this package is meant to be used by developers and by automated testing. lxc (1.1.5-0ubuntu0.15.10.1) wily-proposed; urgency=medium * New upstream bugfix release (MRE) (1.1.5) (LP: #1497420, LP: #1441068, LP: #1466458, LP: #1510619) * Drop proxy detection from the autopkgtest exercise script. -- Stéphane GraberWed, 18 Nov 2015 13:40:28 -0500 -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
** Tags removed: verification-needed ** Tags added: verification-done -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
This bug was fixed in the package lxc - 1.1.5-0ubuntu3 --- lxc (1.1.5-0ubuntu3) xenial; urgency=medium * Cherry-pick from upstream: - Fix preserve_ns to work on < 3.8 kernels. (LP: #1516971) - Fix process title rewrite to not mangle the environment. (LP: #1517107) -- Stéphane GraberWed, 18 Nov 2015 13:30:41 -0500 ** Changed in: lxc (Ubuntu Xenial) Status: Fix Committed => Fix Released -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
** Changed in: lxc (Ubuntu Xenial) Status: Triaged => Fix Committed -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
** Description changed: - I have a script using the Python3 LXC API that starts up a container. - If I use an Upstart job to call the script, the $PATH env var is getting - clobbered and the container fails to start. + == SRU == + Rationale: LXC 1.1 and higher mangles the process env to be able to re-title itself, breaking the environment for sub-processes in the process + Test case: Spawn a container and check /proc/self/environ + Regression potential: Worst case scenario is we stamp on a different part of the process memory leading to similar but different breakage. It's been tested not to be the case though, change comes from upstream. + + == Original bug report == + I have a script using the Python3 LXC API that starts up a container. If I use an Upstart job to call the script, the $PATH env var is getting clobbered and the container fails to start. -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
** Also affects: lxc (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: lxc (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: lxc (Ubuntu Vivid) Importance: Undecided Status: New ** Also affects: lxc (Ubuntu Wily) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu Trusty) Status: New => Confirmed ** Changed in: lxc (Ubuntu Trusty) Status: Confirmed => Triaged ** No longer affects: lxc (Ubuntu Trusty) ** Changed in: lxc (Ubuntu Vivid) Status: New => Triaged ** Changed in: lxc (Ubuntu Wily) Status: New => Triaged ** Changed in: lxc (Ubuntu Xenial) Status: New => Triaged ** Changed in: lxc (Ubuntu Vivid) Importance: Undecided => High ** Changed in: lxc (Ubuntu Wily) Importance: Undecided => High ** Changed in: lxc (Ubuntu Xenial) Importance: Undecided => High -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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
[Bug 1517107] Re: $PATH is getting clobbered when starting a container with Upstart
Hello Christopher, or anyone else affected, Accepted lxc into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lxc/1.1.5-0ubuntu0.15.10.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: lxc (Ubuntu Wily) Status: Triaged => Fix Committed ** Tags added: verification-needed ** Changed in: lxc (Ubuntu Vivid) Status: Triaged => Fix Committed -- 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/1517107 Title: $PATH is getting clobbered when starting a container with Upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1517107/+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