<div class="gmail_quote">On Mon, Jul 9, 2012 at 10:37 AM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Jul 9, 2012 at 3:16 PM, Glenn Daneels <<a href="mailto:glenndaneels@gmail.com">glenndaneels@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm working on constructing a Debian template in a linux container.<br>
><br>
> As I normally do not work on a Debian system, I'm working on a Virtualbox<br>
> with Debian Wheezy (testing) and lxc 0.8.0~rc1-4 installed.<br>
> I used a preseed configuration file (<a href="http://pastebin.com/SR5YXBqE" target="_blank">http://pastebin.com/SR5YXBqE</a>). (Notice<br>
> the puppet package, what would be needed to automatically configure OMF on<br>
> the template, see [1]). The preseed is shown here<br>
> <a href="http://pastebin.com/yqwbG5UV" target="_blank">http://pastebin.com/yqwbG5UV</a>.<br>
><br>
> When first starting up the linux container, I was told to set the network<br>
> bridge (<a href="http://pastebin.com/TWchXrCR" target="_blank">http://pastebin.com/TWchXrCR</a>) and I mounted the cgroup by adding<br>
> in/etc/fstab, see <a href="http://pastebin.com/tSS0KdY1" target="_blank">http://pastebin.com/tSS0KdY1</a><br>
><br>
> After this, the lxc-start seemed to fire up the container, but the debian<br>
> seems to "hang" at a certain point: <a href="http://pastebin.com/YFxsV9W6" target="_blank">http://pastebin.com/YFxsV9W6</a><br>
> And after a while additional output is printed: <a href="http://pastebin.com/4N87RR9i" target="_blank">http://pastebin.com/4N87RR9i</a><br>
> (that additional output repeats every 5 minutes.)<br>
> (Also the startpar: service(s) returned failure: hostname.sh ... failed!<br>
> failure keeps me worried...).<br>
><br>
> Does anyone know what is going on or what I'm doing wrong?<br>
<br>
</div>IIRC there was a similar thread earlier (search the archives), and the<br>
conclusion was whatever method you used to create the guest is flawed,<br>
in that in doesn't create the necessary tty nodes and modify<br>
/etc/inittab accordingly. It's consistent with your log "INIT: Id "6"<br>
respawning too fast" and friends, which should be the line that starts<br>
tty.<br>
<br>
I'd suggest you try using "lxc-create -t debian", or at least see what<br>
modification is present there (/usr/lib/lxc/templates/lxc-debian) and<br>
apply it manually to your setup.<br></blockquote><div><br>I already use lxc-create -t debian to fire up the linux container.<br>I don't know where to find that /usr/lib/lxc/templates/lxc-debian file, it seems not to exist on my system... (Did I forget to install something?)<br>
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Fajar<br>
</font></span></blockquote></div><br>