[Lxc-users] init does not terminate

2013-05-22 Thread Harald Dunkel
Hi folks, If I run 'halt' in the container, then init does not terminate. I have to switch to the host to kill the container. This is pretty painful. LXC server and client are running Wheezy. LXC is grabbed from staging on github. The container was created using the debian template: export

[Lxc-users] start fails with user namespaces /dev/pts/5

2013-05-22 Thread Niklas Fuchs
hi, i tried to use user namespaces on ubuntu raring, lxc 0.9.0, to be able to use it i compiled my own 3.9.2 kernel and used the userns-convert.sh the template was ubuntu. config: lxc.autodev = 0 lxc.id_map = u 0 20 1 lxc.id_map = g 0 20 1 log: lxc-start: Operation not permitted

[Lxc-users] Use host syslog socket in container

2013-05-22 Thread Vallevand, Mark K
I am running a program in a container. The program uses syslog and I'd like the /dev/log socket in the container to refer to /dev/log in the host file system. Suggestions? Regards. Mark K Vallevand mark.vallev...@unisys.commailto:mark.vallev...@unisys.com May you live in interesting times,

Re: [Lxc-users] start fails with user namespaces /dev/pts/5

2013-05-22 Thread Serge Hallyn
It should just work with a 3.9.2 kernel. I'm using http://kernel.ubuntu.com/git?p=serge/quantal-userns.git;a=shortlog;h=refs/heads/saucy.20130502.userns1 which as you can see doesn't add features. Did you create the container with just 'sudo lxc-create -t ubuntu -n r1'? Is lxc.ttydir set to

[Lxc-users] errors

2013-05-22 Thread Tamas Papp
hi All, # lxc-ls --fancy Traceback (most recent call last): File /usr/bin/lxc-ls, line 221, in module ips = container.get_ips(protocol=protocol, timeout=1) TypeError: 'protocol' is an invalid keyword argument for this function # lxc-info -n sc --state-is=running # echo $? 1 The

Re: [Lxc-users] errors

2013-05-22 Thread Tamas Papp
On 05/23/2013 01:02 AM, Tamas Papp wrote: hi All, # lxc-ls --fancy Traceback (most recent call last): File /usr/bin/lxc-ls, line 221, in module ips = container.get_ips(protocol=protocol, timeout=1) TypeError: 'protocol' is an invalid keyword argument for this function #

Re: [Lxc-users] errors

2013-05-22 Thread Stéphane Graber
On 05/22/2013 07:46 PM, Tamas Papp wrote: On 05/23/2013 01:36 AM, Tamas Papp wrote: On 05/23/2013 01:02 AM, Tamas Papp wrote: hi All, # lxc-ls --fancy Traceback (most recent call last): File /usr/bin/lxc-ls, line 221, in module ips = container.get_ips(protocol=protocol,

Re: [Lxc-users] errors

2013-05-22 Thread Tamas Papp
On 05/23/2013 04:27 AM, Stéphane Graber wrote: Oops, looks like I broke lxc-ls --fancy with my recent get_ips() API change. I'll fix it directly to staging (trivial fix) and trigger a new daily build, you should be able to update to a fixed package in the next couple of hours. hi, Although