[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-11-14 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu65 --- lxc (0.7.5-3ubuntu65) precise-proposed; urgency=low * Add proper fix (X001-lxc-ls-onelisting) for lxc-ls showing running containers multiple times. (LP: #1043018) lxc (0.7.5-3ubuntu64) precise-proposed; urgency=low

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-11-09 Thread Serge Hallyn
** Tags removed: needsru verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage n

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-11-07 Thread Clint Byrum
Hello Dan, or anyone else affected, Accepted lxc into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lxc/0.7.5-3ubuntu65 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-11-07 Thread Serge Hallyn
(I will upload a new package with the full fix once I check all other bugs in this SRU) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times T

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-11-07 Thread Serge Hallyn
The fix is not in precise-proposed. lxc-ls still uses netstat -xa rather than netstat -xl. ** Tags removed: verification-needed ** Tags added: verification-failed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-10-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/lxc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage notifications about this bug g

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-10-25 Thread Clint Byrum
Hello Dan, or anyone else affected, Accepted lxc into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lxc/0.7.5-3ubuntu64 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-09-21 Thread Serge Hallyn
** Changed in: lxc (Ubuntu Precise) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage notif

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-09-17 Thread Serge Hallyn
@Dan, we'll discuss the preferred 12.10 behavior at UDS. In the meantime, many people prefer to use lxc-list over lxc-ls. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-09-14 Thread Dan Kegel
I find the old behavior confusing, and http://www.greenhills.co.uk/2011/06/10/lxc.html seems to agree, it says "I’m going to skip lxc-ls because it’s needlessly confusing." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lxc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage notifications about this bug go to: https://bug

Re: [Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-30 Thread Serge Hallyn
Quoting Dan Kegel (d...@kegel.com): > Then perhaps the bug is in the manpage, > http://manpages.ubuntu.com/manpages/precise/en/man1/lxc-ls.1.html > which doesn't say anything about listing existing containers on one line, and > active containers on a second line. Hm, yes. Upstream's lxc-ls used

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Dan Kegel
Then perhaps the bug is in the manpage, http://manpages.ubuntu.com/manpages/precise/en/man1/lxc-ls.1.html which doesn't say anything about listing existing containers on one line, and active containers on a second line. -- You received this bug notification because you are a member of Ubuntu Bu

Re: [Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
Note also that many people prefer to use 'lxc-list' to 'lxc-ls'. (I am not one of them) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times

Re: [Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
Quoting Dan Kegel (d...@kegel.com): > That's necessary, but not sufficient. There is still duplicate output even > with that change. > lxc-ls first lists all containers with "ls -- /var/lib/lxc", and then, > inexplicably, also lists all active > containers with netstat. Why the duplication? S

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Dan Kegel
That's necessary, but not sufficient. There is still duplicate output even with that change. lxc-ls first lists all containers with "ls -- /var/lib/lxc", and then, inexplicably, also lists all active containers with netstat. Why the duplication? Should it use sort -u? -- You received this b

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
** Patch added: "lxc-lxc-ls.debdiff" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1043018/+attachment/3282697/+files/lxc-lxc-ls.debdiff ** Tags added: needsru ** Changed in: lxc (Ubuntu Precise) Assignee: Serge Hallyn (serge-hallyn) => (unassigned) ** Changed in: lxc (Ubuntu Preci

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
(Apologies, I see that's what you had said earlier :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage notifications about this

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
Ah, I see the problem. This is fix released in quantal, but is still broken in precise. The fix is to switch 'netstat -xa' with 'netstat -xl'. We'll get that SRU'd. Thanks again for the bug report. ** Also affects: lxc (Ubuntu Precise) Importance: Undecided Status: New ** Changed in

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1043018 Title: lxc-ls lists running containers multiple times To manage notifications abou

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Dan Kegel
Yeah, the hang only happens on users with nfs home directories. I should file a separate bug for that. Even on users with a local home directory, though, lxc-ls lists containers multiple times after starting and logging into a container. For instance, $ lxc-ls demo_ubuntu_1204 demo_ubuntu_1204

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Dan Kegel
I see a problem with just lxc-start, too, not lxc-start-ephemeral. After doing sudo lxc-start -n demo_ubuntu_1204 and then in another window sudo lxc-console -n demo_centos6-temp-j4G0FcH once I log in, the guest hangs, and lxc-ls shows demo_ubuntu_1204 demo_ubuntu_1204-temp-JjkTzkK demo_ubun

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Dan Kegel
This was on ubuntu 12.04 after doing apt-get dist-upgrade but before rebooting, but I can still get it to happen after reboot, so it's still valid, I think. I can reliably reproduce it by doing sudo lxc-create -n demo_ubuntu_1204 -t ubuntu -- -r precise --bindhome $LOGNAME lxc-start-ephemeral -

[Bug 1043018] Re: lxc-ls lists running containers multiple times

2012-08-29 Thread Serge Hallyn
Thanks for reporting this bug. I actually cannot reproduce this (on Ubuntu quantal). I have 'q1' started with an additional console opened, but lxc-ls shows: serge@amd1:~$ sudo lxc-ls b1 b2 bb1 p1 q1 q1 Is there somethign else I should be doing to reproduce this? Can you tell us which rele