Quoting Dan Kegel (<email address hidden>):
> 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?
If I understand what you're saying correctly, that's not duplication - the
first line is all existing containers, the second line is all active
containers.
Have I misunderstood what you're saying? :) Apologies if so.
Quoting Dan Kegel (<email address hidden>):
> 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?
If I understand what you're saying correctly, that's not duplication - the
first line is all existing containers, the second line is all active
containers.
Have I misunderstood what you're saying? :) Apologies if so.