OoO En  ce début  de soirée du  lundi 15  août 2011, vers  21:23, Daniel
Baumann <[email protected]> disait :

>> If I use "lxc-execute -n test /bin/bash", it complains about the
>> missing /usr/lib/lxc/lxc-init. If I use "lxc-start -n test /bin/bash",
>> I get some non functional shell :

> you can run lxc-execute only for containers that are already running,
> i.e. you have to start it first, then you can execute commands in it.

If I try to run lxc-execute  with an already running container, I get an
error:

# lxc-execute -n test /bin/bash
lxc-execute: Device or resource busy - failed to remove previous cgroup 
'/sys/fs/cgroup/test'
lxc-execute: failed to spawn 'test'
lxc-execute: Device or resource busy - failed to remove cgroup 
'/sys/fs/cgroup/test'
-- 
Vincent Bernat ☯ http://vincent.bernat.im

Don't patch bad code - rewrite it.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: pgpekfTlbTKcj.pgp
Description: PGP signature

Reply via email to