Re: [Lxc-users] Using common rootfs for multiple containers

2013-07-09 Thread Vallevand, Mark K
Yes, it's possible. We do it. I can't share the code, but I can describe it. We create a master container using standard lxc-create script with our own template and config file. The template is based on the ubuntu template. The master container is never started. All subsequent containers

Re: [Lxc-users] Use host syslog socket in container

2013-05-23 Thread Vallevand, Mark K
the sender and delete the e-mail and its attachments from all computers. From: Vallevand, Mark K Sent: Wednesday, May 22, 2013 3:21 PM To: LXC Users Subject: Use host syslog socket in container I am running a program in a container. The program uses syslog and I'd like the /dev/log socket

Re: [Lxc-users] Use host syslog socket in container

2013-05-23 Thread Vallevand, Mark K
, May 23, 2013 2:41 PM To: Vallevand, Mark K Cc: LXC Users Subject: Re: [Lxc-users] Use host syslog socket in container Quoting Vallevand, Mark K (mark.vallev...@unisys.com): Here is how I got syslog to work with a program running in a container. After creating a container, do something like

Re: [Lxc-users] Use host syslog socket in container

2013-05-23 Thread Vallevand, Mark K
by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Serge Hallyn [mailto:serge.hal...@ubuntu.com] Sent: Thursday, May 23, 2013 2:56 PM To: Vallevand, Mark K Cc: LXC

Re: [Lxc-users] Use host syslog socket in container

2013-05-23 Thread Vallevand, Mark K
: Tamas Papp [mailto:tom...@martos.bme.hu] Sent: Thursday, May 23, 2013 2:57 PM To: lxc-users@lists.sourceforge.net Subject: Re: [Lxc-users] Use host syslog socket in container On 05/23/2013 09:42 PM, Vallevand, Mark K wrote: Will that work for a single file? I thought it was for directories

[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,

[Lxc-users] Is there a way to get the container name from inside the container?

2013-05-16 Thread Vallevand, Mark K
Is there a way to get the container name from inside the container? Regards. Mark K Vallevand mark.vallev...@unisys.commailto:mark.vallev...@unisys.com May you live in interesting times, may you come to the attention of important people and may all your wishes come true. THIS COMMUNICATION MAY

Re: [Lxc-users] regarding lxc states available to lxc-monitor or lxc-wait usage

2013-05-13 Thread Vallevand, Mark K
] Sent: Sunday, May 12, 2013 11:33 PM To: brian mullan Cc: Vallevand, Mark K; LXC Users Subject: Re: [Lxc-users] regarding lxc states available to lxc-monitor or lxc-wait usage Quoting brian mullan (bmullan.m...@gmail.com): So given that a socket approach could work... would it make sense

Re: [Lxc-users] regarding lxc states available to lxc-monitor or lxc-wait usage

2013-05-09 Thread Vallevand, Mark K
I don't think signals to the container init process is the answer. You can run a single program in a container. When that program reaches a certain state, it could report that it is operational. I don't know what the correct way to do that report using a new lxc feature. Currently, my

[Lxc-users] The liblxc is not thread-safe, correct?

2013-04-23 Thread Vallevand, Mark K
I'm using Ubuntu 12.04 LTS with its associated LXC 0.7.5. As far as I can tell, liblxc is not thread-safe. Is this correct? Regards. Mark K Vallevand mark.vallev...@unisys.commailto:mark.vallev...@unisys.com May you live in interesting times, may you come to the attention of important

Re: [Lxc-users] The liblxc is not thread-safe, correct?

2013-04-23 Thread Vallevand, Mark K
for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -Original Message- From: Stéphane Graber [mailto:stgra...@ubuntu.com] Sent: Tuesday, April 23, 2013 9:04 AM To: Vallevand, Mark K Cc