<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>There seemed to be a few questions about base templates.</div><blockquote type="cite" style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;"><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div><font face="times new roman, new york, times, serif">lxc-create --pull git -n name</font><br></div><div><font face="times new roman, new york, times, serif">lxc-clone --push git -n name</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div>I am still wondering why we are stuck with the maintenance of the stock templates that seem to have few problems.</div><div><br></div><div>Is it a matter of just use docker or would the above addition be welcome to
lxc?</div></div></div></blockquote><div><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "lxc-users-request@lists.sourceforge.net" <lxc-users-request@lists.sourceforge.net><br> <b><span style="font-weight: bold;">To:</span></b> lxc-users@lists.sourceforge.net <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 1 August 2013, 5:35<br> <b><span style="font-weight: bold;">Subject:</span></b> Lxc-users Digest, Vol 44, Issue 1<br> </font> </div> <div class="y_msg_container"><br>Send Lxc-users mailing list submissions to<br> <a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a><br><br>To
subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:lxc-users-request@lists.sourceforge.net" href="mailto:lxc-users-request@lists.sourceforge.net">lxc-users-request@lists.sourceforge.net</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:lxc-users-owner@lists.sourceforge.net" href="mailto:lxc-users-owner@lists.sourceforge.net">lxc-users-owner@lists.sourceforge.net</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Lxc-users digest..."<br><br><br>Today's Topics:<br><br> 1. LXC Debian Wheezy Template (Danijel Vargek, Continum)<br> 2. Re: [Spam-Wahrscheinlichkeit=95]Re: Issues in
using lxc in<br> Fedora 14 (Guido J?kel)<br> 3. lxc-ls --fancy is lying (Tamas Papp)<br> 4. Re: lxc-ls --fancy is lying (Jay Taylor)<br> 5. Re: lxc-ls --fancy is lying (Tamas Papp)<br> 6. Re: lxc-ls --fancy is lying (zoolook)<br> 7. Re: lxc-ls --fancy is lying (Tamas Papp)<br> 8. Setting up server in lxc container for dummies (Dan Kegel)<br> 9. Re: Setting up server in lxc container for dummies (Kevin LaTona)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 31 Jul 2013 12:01:51 +0200 (CEST)<br>From: "Danijel Vargek, Continum" <<a ymailto="mailto:danijel.vargek@continum.net" href="mailto:danijel.vargek@continum.net">danijel.vargek@continum.net</a>><br>Subject: [Lxc-users] LXC Debian Wheezy Template<br>To: <a ymailto="mailto:lxc-users@lists.sourceforge.net"
href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a><br>Message-ID:<br> <<a ymailto="mailto:1889011068.260286.1375264911675.JavaMail.zimbra@continum.net" href="mailto:1889011068.260286.1375264911675.JavaMail.zimbra@continum.net">1889011068.260286.1375264911675.JavaMail.zimbra@continum.net</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Hi everybody,<br>is there a way to use Debian-Wheezy containers in a clean,<br>working way on lxc?<br><br>My current setup involves a Debian-Wheezy Host with several Wheezy containers.<br>As stated on the Debian wiki (wiki.debian.org/LXC), the original template ships<br>with several problems (mainly missing ttys for console login and other stuff).<br><br>We set up our containers with the template recommended on this mailinglist. <br>Installation worked pretty fine, but there are some problems according to the<br>init scripts:<br><br>1. Stopping/Restarting
containers via /etc/init.d/lxc fails with a timeout:<br>####<br>[....] Stopping Linux Containers: test.xxx.com<br>telinit: timeout opening/writing control channel /run/initctl<br>####<br><br>2. Shutdown/Reboot inside a container stops all processes except of init, so the<br>container finally does not shutdown or reboot.<br>We can see the still active init process for the container via lxc-ps<br>####<br>CONTAINER PID TTY TIME CMD<br>test.xxx.com 4352 ? 00:00:05 init<br>####<br>The only way to finally stop a container is via lxc-stop<br><br>Did anyone experience a similiar problem, or is there an existing workaround for <br>this?<br><br>Regards,<br>Danijel<br><br>-- <br>Danijel Vargek<br>Continum AG<br>Bismarckallee 7b-d<br>79098 Freiburg i. Br.<br>Tel. +49 761 217 111-74<br>Fax. +49 761 217 111-98<br><a href="http://www.continum.net/"
target="_blank">http://www.continum.net</a><br> <br>Sitz der Gesellschaft: Freiburg im Breisgau<br>Registergericht: Amtsgericht Freiburg, HRB 6866<br>Vorstand: Rolf Mathis, Volker T. Mueller<br>Vorsitzender d. Aufsichtsrats: Prof. Dr. Karl-F. Fischbach <br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 31 Jul 2013 12:43:31 +0200<br>From: Guido J?kel <<a ymailto="mailto:G.Jaekel@DNB.DE" href="mailto:G.Jaekel@DNB.DE">G.Jaekel@DNB.DE</a>><br>Subject: Re: [Lxc-users] [Spam-Wahrscheinlichkeit=95]Re: Issues in<br> using lxc in Fedora 14<br>To: "<a ymailto="mailto:Lxc-users@lists.sourceforge.net" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID: <<a ymailto="mailto:51F8EA53.2000404@DNB.DE"
href="mailto:51F8EA53.2000404@DNB.DE">51F8EA53.2000404@DNB.DE</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>On 2013-07-31 12:15, Ajith Adapa wrote:<br>> Hi,<br>> <br>> Thanks everyone for the time to reply back.<br>> <br>> My only reason for using FEDORA14 is I am really uncomfortable with systemd<br>> which got added into FEDORA15 and above.<br>> <br>> I initially started up with FEDORA17 and ended up with issues in systemd<br>> which needed some manual changes to make it work on FEDORA17. As pointed<br>> eventhough FEDORA14 is EOL I just wanted to try it out without systemd<br>> jargon as I am trying for embedded environment. If there is any better<br>> alternative without systemd I could try the same.<br><br><br>Dear Ajith,<br><br>if you need to tailor your Linux down for an embedded environment, you may take a look on Gentoo Linux. Here you may choose freely between different software
alternatives. And in case of the init framework, in the moment SystemD is an option and the default is openRC.<br><br>greetings<br><br>Guido<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 31 Jul 2013 13:16:23 +0200<br>From: Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>><br>Subject: [Lxc-users] lxc-ls --fancy is lying<br>To: "<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID: <<a ymailto="mailto:51F8F207.4000905@martos.bme.hu" href="mailto:51F8F207.4000905@martos.bme.hu">51F8F207.4000905@martos.bme.hu</a>><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>hi
All,<br><br>I've seen a couple of times in the past like this:<br><br># lxc-ls --fancy --stopped --fancy-format name,state<br>NAME STATE<br>--------------------<br>finance STOPPED<br>hammer STOPPED<br>ijc-cipool STOPPED<br>jay STOPPED<br>marvin4jsci STOPPED<br>marvinci STOPPED<br>svntest STOPPED<br><br><br>In fact VMs are running fine, but I updated lxc (from daily ppa) this morning.<br><br>Is this some kind of bug? Do others meet this issue?<br><br><br>10x<br>tamas<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 31 Jul 2013 10:37:15 -0700<br>From: Jay Taylor <<a ymailto="mailto:jay@jaytaylor.com" href="mailto:jay@jaytaylor.com">jay@jaytaylor.com</a>><br>Subject: Re: [Lxc-users] lxc-ls --fancy is lying<br>To: Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu"
href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>><br>Cc: "<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID:<br> <CAEOBz7NP-=acziLvNoK=WNJkmnBma12p6uz+m7Ct-s+<a ymailto="mailto:2T3KkUw@mail.gmail.com" href="mailto:2T3KkUw@mail.gmail.com">2T3KkUw@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Out of curiosity, did you see it in the past before you you updated from<br>the PPA today?<br><br><br>On Wed, Jul 31, 2013 at 4:16 AM, Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>> wrote:<br><br>> hi All,<br>><br>> I've seen a couple of times in the past like
this:<br>><br>> # lxc-ls --fancy --stopped --fancy-format name,state<br>> NAME STATE<br>> --------------------<br>> finance STOPPED<br>> hammer STOPPED<br>> ijc-cipool STOPPED<br>> jay STOPPED<br>> marvin4jsci STOPPED<br>> marvinci STOPPED<br>> svntest STOPPED<br>><br>><br>> In fact VMs are running fine, but I updated lxc (from daily ppa) this<br>> morning.<br>><br>> Is this some kind of bug? Do others meet this issue?<br>><br>><br>> 10x<br>> tamas<br>><br>><br>> ------------------------------------------------------------------------------<br>> Get your SQL database under version control now!<br>> Version control is standard for application code, but databases havent<br>> caught up. So what steps can you take to put your SQL
databases under<br>> version control? Why should you start doing it? Read more to find out.<br>> <a href="http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk</a><br>> _______________________________________________<br>> Lxc-users mailing list<br>> <a ymailto="mailto:Lxc-users@lists.sourceforge.net" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br><br>Message: 5<br>Date: Wed, 31 Jul 2013 20:47:24 +0200<br>From: Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu"
href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>><br>Subject: Re: [Lxc-users] lxc-ls --fancy is lying<br>To: Jay Taylor <<a ymailto="mailto:jay@jaytaylor.com" href="mailto:jay@jaytaylor.com">jay@jaytaylor.com</a>><br>Cc: "<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID: <<a ymailto="mailto:51F95BBC.8000603@martos.bme.hu" href="mailto:51F95BBC.8000603@martos.bme.hu">51F95BBC.8000603@martos.bme.hu</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>On 07/31/2013 07:37 PM, Jay Taylor wrote:<br>> Out of curiosity, did you see it in the past before you you updated from the PPA today?<br><br>No, I
didn't.<br><br>tamas<br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Wed, 31 Jul 2013 16:44:30 -0300<br>From: zoolook <nbensa+<a ymailto="mailto:lxcusers@gmail.com" href="mailto:lxcusers@gmail.com">lxcusers@gmail.com</a>><br>Subject: Re: [Lxc-users] lxc-ls --fancy is lying<br>To: Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>><br>Cc: "<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID:<br> <CADut3oC6iM7fqTadKk9yYexYki+<a ymailto="mailto:F3reMRZX_RKNbrd3r_zzJOg@mail.gmail.com"
href="mailto:F3reMRZX_RKNbrd3r_zzJOg@mail.gmail.com">F3reMRZX_RKNbrd3r_zzJOg@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>On Wed, Jul 31, 2013 at 3:47 PM, Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>> wrote:<br>> On 07/31/2013 07:37 PM, Jay Taylor wrote:<br>>> Out of curiosity, did you see it in the past before you you updated from the PPA today?<br>><br>> No, I didn't.<br>><br><br>I did but a simple reboot fixed it.<br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Wed, 31 Jul 2013 22:16:16 +0200<br>From: Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>><br>Subject: Re: [Lxc-users] lxc-ls --fancy is lying<br>To: zoolook <nbensa+<a ymailto="mailto:lxcusers@gmail.com" href="mailto:lxcusers@gmail.com">lxcusers@gmail.com</a>><br>Cc: "<a
ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>"<br> <<a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a>><br>Message-ID: <<a ymailto="mailto:51F97090.70004@martos.bme.hu" href="mailto:51F97090.70004@martos.bme.hu">51F97090.70004@martos.bme.hu</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>On 07/31/2013 09:44 PM, zoolook wrote:<br>> On Wed, Jul 31, 2013 at 3:47 PM, Tamas Papp <<a ymailto="mailto:tompos@martos.bme.hu" href="mailto:tompos@martos.bme.hu">tompos@martos.bme.hu</a>> wrote:<br>>> On 07/31/2013 07:37 PM, Jay Taylor wrote:<br>>>> Out of curiosity, did you see it in the past before you you updated from the PPA today?<br>>> No, I didn't.<br>>><br>> I did but a simple reboot fixed
it.<br><br><br>Ohh, I'm afraid, I misunderstood the question.<br><br>Yes, I did as well, a couple of time.<br>As for that a couple of time I experienced really stopped guests after package update.<br><br>tamas<br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Wed, 31 Jul 2013 20:24:42 -0700<br>From: Dan Kegel <<a ymailto="mailto:dank@kegel.com" href="mailto:dank@kegel.com">dank@kegel.com</a>><br>Subject: [Lxc-users] Setting up server in lxc container for dummies<br>To: <a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a><br>Message-ID:<br> <CAPF-yOYRdGUAFQbjKekP_dsBJgBzrMnFDvuv21LmGBVwe=<a ymailto="mailto:z4vg@mail.gmail.com" href="mailto:z4vg@mail.gmail.com">z4vg@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>Hi,<br>I've been happily using ubuntu's stock lxc (originally<br>in 12.04, now in
13.04), and finally have an occasion<br>to run a server inside a container. I'd like it to<br>be visible from the outside.<br><br>There are plenty of web pages about this, but they seem to<br>assume that you've created the lxc config file by hand.<br>I have never done that; I just use whatever lxc-create creates.<br><br>What's the simplest way to get a container to look<br>like just another host on the LAN, starting with<br> sudo apt-get install lxc<br> sudo lxc-create -t ubuntu -n foobar<br>on ubuntu 13.04?<br><br>Thanks,<br>Dan<br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Wed, 31 Jul 2013 21:35:26 -0700<br>From: Kevin LaTona <<a ymailto="mailto:lists@studiosola.com" href="mailto:lists@studiosola.com">lists@studiosola.com</a>><br>Subject: Re: [Lxc-users] Setting up server in lxc container for<br> dummies<br>To: Dan Kegel <<a ymailto="mailto:dank@kegel.com"
href="mailto:dank@kegel.com">dank@kegel.com</a>><br>Cc: <a ymailto="mailto:lxc-users@lists.sourceforge.net" href="mailto:lxc-users@lists.sourceforge.net">lxc-users@lists.sourceforge.net</a><br>Message-ID: <<a ymailto="mailto:14C9416C-3EBF-4DFB-A393-F022F90E6C09@studiosola.com" href="mailto:14C9416C-3EBF-4DFB-A393-F022F90E6C09@studiosola.com">14C9416C-3EBF-4DFB-A393-F022F90E6C09@studiosola.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>Hi Dan,<br><br><br>I've just started working with LXC so this how I am doing it and maybe some one else can fill in any areas I've left out.<br><br>If you are going to have a local LAN and outside WAN connection than you will need two ethernet cards ( 1 for each network )<br><br>Unless you already have a router setup that can punch a hole into your local network's firewall creating a DMZ connection for that container.<br><br><br>What I have been doing is creating a bridge on the host with a static
ip.<br><br>Then each container is configured to it's own static ip address inside the container's /etc/network/interface config doc<br><br>If you check out this mailing list's archive for the last week or so you will find an example of most of my config files I used in this test.<br><br>The problem I was having is the gateway on a container was not loading .<br><br>So I ending up writing a simple Ubuntu startup script to manually load the gateway settings at the container's OS boot time.<br><br>For now it does the job until I can figure out why.<br><br><br>Bellow are the document paths to most config files you will need to deal with.<br><br>There are plenty of good blog post out on the web that will give you deeper details.<br><br><br><br>Finally you may want to check out this project to see it might make all the above easier for your needs. <a href="http://lxc-webpanel.github.io/" target="_blank">http://lxc-webpanel.github.io</a><br><br>I looked at it
but ended up doing all manual configurations, as I wanted to better understand LXC structure for now.<br><br><br>Good luck.<br>-Kevin<br><br><br><br>Host ( create bridge )<br>/etc/network/interfaces<br><br><br>/etc/sysctl.conf<br>net.ipv4.ip_forward = 1<br><br><br>/etc/lxc/lxc.conf<br><br>/etc/default/lxc<br><br><br>/var/lib/lxc/containers_name/config<br><br>/var/lib/lxc/conatianers_name/rootfs/etc/network/interfaces<br><br><br><br><br><br>On Jul 31, 2013, at 8:24 PM, Dan Kegel <<a ymailto="mailto:dank@kegel.com" href="mailto:dank@kegel.com">dank@kegel.com</a>> wrote:<br><br>> Hi,<br>> I've been happily using ubuntu's stock lxc (originally<br>> in 12.04, now in 13.04), and finally have an occasion<br>> to run a server inside a container. I'd like it to<br>> be visible from the outside.<br>> <br>> There are plenty of web pages about this, but they seem to<br>> assume that you've created the lxc config file by
hand.<br>> I have never done that; I just use whatever lxc-create creates.<br>> <br>> What's the simplest way to get a container to look<br>> like just another host on the LAN, starting with<br>> sudo apt-get install lxc<br>> sudo lxc-create -t ubuntu -n foobar<br>> on ubuntu 13.04?<br>> <br>> Thanks,<br>> Dan<br><br><br><br><br>------------------------------<br><br>------------------------------------------------------------------------------<br>Get your SQL database under version control now!<br>Version control is standard for application code, but databases havent <br>caught up. So what steps can you take to put your SQL databases under <br>version control? Why should you start doing it? Read more to find out.<br><a href="http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk"
target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk</a><br><br>------------------------------<br><br>_______________________________________________<br>Lxc-users mailing list<br><a ymailto="mailto:Lxc-users@lists.sourceforge.net" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br><br><br>End of Lxc-users Digest, Vol 44, Issue 1<br>****************************************<br><br><br></div> </div> </div> </div></body></html>