Re: [Lxc-users] Zombie container

2011-02-14 Thread Miroslav Lednicky, AVONET, s.r.o.
Dne 15.2.2011 00:50, Trent W. Buck napsal(a): > Daniel Lezcano writes: > >> As a quick fix, I suggest you look what application created the new >> namespace. Launch your container and then look at >> /cgroup/blackbird/1234/tasks and look for the command line associated >> with the pid in this file

Re: [Lxc-users] Zombie container

2011-02-14 Thread Trent W. Buck
Daniel Lezcano writes: > As a quick fix, I suggest you look what application created the new > namespace. Launch your container and then look at > /cgroup/blackbird/1234/tasks and look for the command line associated > with the pid in this file. I suspect vsftpd could be the culprit. If > this is

Re: [Lxc-users] FUSE and capabilities

2011-02-14 Thread Trent W. Buck
Milan Zamazal writes: > I tried to use FUSE/EncFS in a container on a Debian 6.0 machine and > I've found I have to enable CAP_SYS_ADMIN in order to make it work. > Without it, permission error is reported on encfs invocation (and yes, > I've got /dev/fuse enabled in lxc.cgroup.devices.allow, it

Re: [Lxc-users] Batch invocation of apt-get?

2011-02-14 Thread Trent W. Buck
Milan Zamazal writes: > I migrate from VServer to Linux Containers on Debian 6.0. I can't find > any vapt-get equivalent in order to be able to upgrade all running > containers at once. I wouldn't like to handle each container manually > with lxc-console nor to stop the containers (so that I ca

Re: [Lxc-users] Zombie container

2011-02-14 Thread Daniel Lezcano
On 02/14/2011 07:33 PM, Milan Zamazal wrote: > On a Debian 6.0 machine, I've got a certain container that can't be > started again once it was stopped: > ># lxc-start -n blackbird >lxc-start: Device or resource busy - failed to remove previous cgroup > '/cgroup/blackbird' >lxc-start: f

[Lxc-users] Zombie container

2011-02-14 Thread Milan Zamazal
On a Debian 6.0 machine, I've got a certain container that can't be started again once it was stopped: # lxc-start -n blackbird lxc-start: Device or resource busy - failed to remove previous cgroup '/cgroup/blackbird' lxc-start: failed to spawn 'blackbird' lxc-start: Device or resource bu

[Lxc-users] cgroup.net_cls and tc

2011-02-14 Thread Andre Nathan
Hello I'm trying to setup bandwidth limiting for my container, using the examples in RedHat's whitepaper: http://vger.kernel.org/netconf2009_slides/Network%20Control%20Group% 20Whitepaper.odt The container is configured with the following line: lxc.cgroup.net_cls.classid = 0x10002 And I ha

Re: [Lxc-users] FUSE and capabilities

2011-02-14 Thread Daniel Lezcano
On 02/14/2011 04:41 PM, Milan Zamazal wrote: > I tried to use FUSE/EncFS in a container on a Debian 6.0 machine and > I've found I have to enable CAP_SYS_ADMIN in order to make it work. > Without it, permission error is reported on encfs invocation (and yes, > I've got /dev/fuse enabled in lxc.cgro

[Lxc-users] FUSE and capabilities

2011-02-14 Thread Milan Zamazal
I tried to use FUSE/EncFS in a container on a Debian 6.0 machine and I've found I have to enable CAP_SYS_ADMIN in order to make it work. Without it, permission error is reported on encfs invocation (and yes, I've got /dev/fuse enabled in lxc.cgroup.devices.allow, it wouldn't work without it even wi

[Lxc-users] Batch invocation of apt-get?

2011-02-14 Thread Milan Zamazal
I migrate from VServer to Linux Containers on Debian 6.0. I can't find any vapt-get equivalent in order to be able to upgrade all running containers at once. I wouldn't like to handle each container manually with lxc-console nor to stop the containers (so that I can use lxc-execute) nor to run ss