[Bug 1244301] Re: lxc-attach stopped working for docker containers
This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu12 --- lxc (1.0.0~alpha1-0ubuntu12) saucy-proposed; urgency=low * 0012-ubuntu-Improper-pty-permissions.patch: fix pty permissions (LP: #1242913) * 0013-get-rid-of-lxcpath_anon-idea.patch: make containers started with a custom config easier to manage. (LP: #1244301) -- Serge Hallyn serge.hal...@ubuntu.com Fri, 25 Oct 2013 15:42:27 -0500 ** Changed in: lxc (Ubuntu Saucy) 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
I can confirm the fix as well. ** Changed in: lxc (Ubuntu Saucy) Milestone: None = saucy-updates -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
Also confirmed -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
FYI, this issue is also reported in Docker's bug tracker at https://github.com/dotcloud/docker/issues/2476 -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
No, the first reported and no duplicate bug on github is #2278, the one reported on the desc of this bug. -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
I verified the proposed package on Saucy 13.10. I used package 1.0.0~alpha1-0ubuntu12 ** 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
Hello kiorky, or anyone else affected, Accepted lxc into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lxc/1.0.0~alpha1-0ubuntu12 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 Saucy) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
This bug was fixed in the package lxc - 1.0.0~alpha2-0ubuntu4 --- lxc (1.0.0~alpha2-0ubuntu4) trusty; urgency=low * get_rid_of_lxcpath_anon_idea.patch: allow lxc-stop and lxc-attach to work more easily with containers started with a custom config (-f). (LP: #1244301) -- Serge Hallyn serge.hal...@ubuntu.com Thu, 24 Oct 2013 11:55:06 -0500 ** Changed in: lxc (Ubuntu) Status: Confirmed = 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
Is that normal not having an update on saucy ? -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
The fix needs to go into the development release first, which just happened. Then it can be SRU'd (Stable Release Update) to stable releases. This is to set a high bar for stable release updates so that we minimize the risk of breakage to installed stable releases. -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
** Description changed: I think https://github.com/lxc/lxc/commit/69733b5dd27e6963267ff6473d9b41dfb59a3f0f has fixed this bug and am requesting for a new release of lxc in saucy and trusty. The main blocker is that docker containers are hitted by https://github.com/dotcloud/docker/issues/2278 where lxc-attach can no longer attach to them. Thanks ! + + = + 1. impact: containers starte with a custom configuration file cannot be controlled the same way as normal containers. Instead a custom lxcpath, formed by appending _anon to the real lxcpath, must be apssed to lxc-console, lxc-stop, lxc-attach, etc. + 2. development fix: don't specify a custom lxcpath + 3. stable fix: same as dev fix + 4. test case: + sudo lxc-create -t ubuntu -n u1 + sudo lxc-start -n u1 -f /var/lib/lxc/u1/config + sudo lxc-info -n u1 + # shows not running + 5. regression potential: this is cherrypicked from upstream and should have no regressions. + -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
Thanks - I assume that the docker containers are started with 'lxc-start ... -f cofnigfile'. That is the trigger for the use of the anon lxcpath, which also caused autostart to fail. The git commit you cite is indeed the fix for this. Ill fix this in trusty and SRU to saucy. ** Also affects: lxc (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu) Status: New = Confirmed ** Changed in: lxc (Ubuntu) Importance: Undecided = High ** Changed in: lxc (Ubuntu Saucy) Importance: Undecided = High ** Changed in: lxc (Ubuntu Saucy) Status: New = Confirmed -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
Yep they are started there https://github.com/dotcloud/docker/blob/master/container.go#L814 where params include the config there: https://github.com/dotcloud/docker/blob/master/container.go#L765 -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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 1244301] Re: lxc-attach stopped working for docker containers
** Branch linked: lp:~ubuntu-branches/ubuntu/trusty/lxc/trusty -- 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/1244301 Title: lxc-attach stopped working for docker containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+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