Re: [lxc-users] lxc-destroy fails somehow

2014-03-17 Thread Nels Nelson
Are the following lines that already exist in templates like lxc-sshd sufficient? lxc.mount.entry = /lib lib none ro,bind 0 0 lxc.mount.entry = /bin bin none ro,bind 0 0 lxc.mount.entry = /usr usr none ro,bind 0 0 lxc.mount.entry = /sbin sbin none ro,bind 0 0 __

Re: [lxc-users] lxc-destroy fails somehow

2014-03-14 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > On Fri, Mar 14, 2014 at 1:07 PM, Serge Hallyn wrote: > > > > Yes, but you need the statically linked version, > > > > sudo apt-get install busybox-static > > > > you can verify whether it is dynamically linked using > > > > ldd `which

Re: [lxc-users] lxc-destroy fails somehow

2014-03-14 Thread Nels Nelson
On Fri, Mar 14, 2014 at 1:07 PM, Serge Hallyn wrote: > > Yes, but you need the statically linked version, > > sudo apt-get install busybox-static > > you can verify whether it is dynamically linked using > > ldd `which busybox` Okay, installed the statically linked binary version

Re: [lxc-users] lxc-destroy fails somehow

2014-03-14 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > On Fri, Mar 14, 2014 at 11:30 AM, Serge Hallyn wrote: > > > > The path specified with -P is the path *under* which containers sit. > > > > > Ah ha. Of course. Thank you! > > > Have you tried the buxybox template? > > > > Yes, but this happens du

Re: [lxc-users] lxc-destroy fails somehow

2014-03-14 Thread Nels Nelson
On Fri, Mar 14, 2014 at 11:30 AM, Serge Hallyn wrote: > > The path specified with -P is the path *under* which containers sit. > > Ah ha. Of course. Thank you! Have you tried the buxybox template? > Yes, but this happens during creation in debian wheezy: # lxc-create -t busybox -n test -l

Re: [lxc-users] lxc-destroy fails somehow

2014-03-14 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > On Wed, Mar 12, 2014 at 5:16 PM, Serge Hallyn wrote: > > > > You gave lxc-start '-P /var/lib/lxc/test'. For lxc-create, you did > > not give that option, but you gave a custom config file. > > > Greetings, Serge,- > > My understanding is that lxc

Re: [lxc-users] lxc-destroy fails somehow

2014-03-13 Thread Nels Nelson
On Wed, Mar 12, 2014 at 5:16 PM, Serge Hallyn wrote: > > You gave lxc-start '-P /var/lib/lxc/test'. For lxc-create, you did > not give that option, but you gave a custom config file. Greetings, Serge,- My understanding is that lxc-create will initially create the container configuration in /var

Re: [lxc-users] lxc-destroy fails somehow

2014-03-12 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > Greetings list,- > > I suppose I should probably provide more context for this, but I am hoping > that it will be obvious what I am doing wrong, and then I can just stop > doing that thing, and everything will be okay again... > > This seems really

[lxc-users] lxc-destroy fails somehow

2014-03-12 Thread Nels Nelson
Greetings list,- I suppose I should probably provide more context for this, but I am hoping that it will be obvious what I am doing wrong, and then I can just stop doing that thing, and everything will be okay again... This seems really bizarre to me (https://gist.github.com/nelsnelson/9516504 ):