<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="+1">Martin,<br>
<br>
I am reinstalling squeeze on my host node, as I had reverted back
to OpenVZ, so that I have clean computer to work with when I
follow the instructions you have suggested in your second URL.<br>
<br>
To the best of my memory, when lxc-console I got out of the
Testing repository failed to deliver a prompt, I did hit "enter"
(several times) and all it did was drop my cursor lower on the
screen. I also tried the command without the -d hoping that would
get me in, it didn't....I got some kind of error on that, if I
remember correctly.<br>
<br>
In your suggested steps, it says:<br>
<br>
"You might have noticed that you got yourself a debian 5.0 lenny
container. Thats because lenny is hardcoded in the lxc-debian
script and there is no(t yet) any squeeze compatible installer
script. I have modified the lxc-debian script (download below try
the one from the sourceforge archive) but it does not yet work
fully out of the box. You can play around with it.<br>
<br>
#> DEBIAN_VERSION=squeeze lxc-debian -p /var/lib/lxc/vm0<br>
<br>
If you’ve already created a container with lxc-debian, you
probably have to wipe the directory /var/cache/lxc/.. before you
get squeeze (cache is stored not suite aware)."<br>
<br>
Does the above command automatically pull in the squeeze version
lxc-debian command script? --Or is the sourceforge link they
provide which takes me to this page,
<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/lxc/files/lxc/">http://sourceforge.net/projects/lxc/files/lxc/</a> mean that I need to
remove the lxc install the instructions suggested at the beginning
and instead compile the sourceforge lxc-0.7.4.1 download
somewhere?<br>
<br>
Thanks! :)</font><br>
<br>
On 02/22/2012 10:25 AM, Martin Konečný wrote:
<blockquote
cite="mid:CAN_UGsBQLZVCmimiNp2pM7x_eYf-Zc4R9A8za1du7ugqe03LfQ@mail.gmail.com"
type="cite">These may be idiotically simple suggestions, but I've
been caught in these situations:
<div><br>
</div>
<div>Sometimes when I use lxc-console, I don't see anything until
I press "enter". Try this first.</div>
<div><br>
</div>
<div>Also, what happens if you start the container without the -d
option? Does it bring you into a console then? lxc-console won't
work, if lxc-start (sans daemon option) doesn't bring you to a
prompt (at least in my experience with LXC in Squeeze).</div>
<div><br>
</div>
<div>Martin</div>
<br>
<div class="gmail_quote">On Wed, Feb 22, 2012 at 10:38 AM,
Terry--gmail <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:terry.kemmerer@gmail.com">terry.kemmerer@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> <font size="+1">For
the record, I'm not married to using Testing repositories.
I just need a way to <br>
get working squeeze containers....that at my dummy level I
can create and work with. :)<br>
<br>
I wasn't using wheezy, I was using debian squeeze on my
host node and added<big> </big></font><big><br>
the associated Testing Repositories to my
/etc/apt/sources.list:</big><br>
<font color="#000000"><font color="#008000"><font><b><br>
deb <a moz-do-not-send="true"
href="ftp://ftp.lt.debian.org/debian/"
target="_blank">ftp://ftp.lt.debian.org/debian/</a>
testing main non-free contrib</b></font></font></font>
<br>
<font color="#000000"> <font color="#008000"><font><b>deb-src
<a moz-do-not-send="true"
href="ftp://ftp.lt.debian.org/debian/"
target="_blank">ftp://ftp.lt.debian.org/debian/</a>
testing main non-free contrib</b></font></font></font><br>
<br>
To install lxc and then disabled the above testing
repositories.<br>
<br>
Also, the notes that I found telling me to use the testing
repositories didn't mention <br>
the modifications you listed or to use the lxc-create
command, so I had tried to implement <br>
it like I had done for the lenny container earlier. <br>
<br>
By the way, are there any step by step instructions
anywhere?<br>
<br>
And just to be clear, are you saying I need to install
wheezy on my Host Node, then add the Testing repositories <br>
to get a working squeeze container?
<div>
<div class="h5"><br>
<br>
<br>
On 02/22/2012 04:56 AM, Bekir Dogan wrote:
<blockquote type="cite">
<pre>You must have:
* "lxc.tty = ... " in your lxc config file (possibly in
/var/lib/lxc/containername/config)
* console in your continer rootfs: (possibly in
/var/lib/lxc/containername/rootfs/)
You can create this by something like this
# cd /var/lib/lxc/containername/rootfs/
# mknod -m 666 /dev/tty1 c 4 1
# mknod -m 666 /dev/tty2 c 4 2
I assume you are using debian testing (wheezy), if you create new
containers like this command:
# sudo lxc-create -t debian -n containername
It asks you some questions and handles many conditions, like this one,
automatically.
bekir
On Wed, Feb 15, 2012 at 03:12, Terry--gmail <a moz-do-not-send="true" href="mailto:terry.kemmerer@gmail.com" target="_blank"><terry.kemmerer@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>My problem is, I need squeeze in my containers and if anyone knows of a path
for doing this that has
some good instructions, I'd really appreciate knowing where that is.
This is my first query to the mail list and if I am not suppose to ask a
Debian Testing question,
please let me know...
So far, the only way I have found that offers squeeze, is using Debian
Testing, which appears to work
just fine, and I can ping the container both from my host and my LAN,
but...when I try to enter the
container via lxc-console, it doesn't take me to the container's prompt
command line....the situation
looks to me like probably a simple programming syntax error of some kind.
Below is what happens...
root@server:/# lxc-start -n vm101 -d
root@server:/# lxc-info -n vm101
state: RUNNING
pid: 7103
root@server:/# lxc-console -n vm101
Type <Ctrl+a q> to exit the console
<<----- There is no Prompt here, and all that is visible is the above
instruction...and I can type stuff.
However, by pressing <Ctrl+a q> I am immediately returned to
my host prompt, like so...
root@server:/#
root@server:/# lxc-info -n vm101
state: RUNNING
pid: 7103
root@server:/#
I tried nano /usr/bin/lxc-console hoping to be able to find the offending
program line as I speculate it is near or at the echoed instruction, but
opening the program I think I am seeing binary characters in the file. I
was wondering (wishful hoping) if there are any potential commands I might
use to just break past the point that hangs after I give the lxc-console
command and get a prompt that belongs to the container? Or some other route
to obtaining squeeze...
Thanks for your thoughts!
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
<a moz-do-not-send="true" href="http://p.sf.net/sfu/learndevnow-d2d" target="_blank">http://p.sf.net/sfu/learndevnow-d2d</a>
_______________________________________________
Lxc-users mailing list
<a moz-do-not-send="true" href="mailto:Lxc-users@lists.sourceforge.net" target="_blank">Lxc-users@lists.sourceforge.net</a>
<a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a>
</pre>
</blockquote>
</blockquote>
</div>
</div>
</div>
<br>
------------------------------------------------------------------------------<br>
Virtualization & Cloud Management Using Capacity Planning<br>
Cloud computing makes use of virtualization - but cloud
computing<br>
also focuses on allowing computing to be delivered as a
service.<br>
<a moz-do-not-send="true"
href="http://www.accelacomm.com/jaw/sfnl/114/51521223/"
target="_blank">http://www.accelacomm.com/jaw/sfnl/114/51521223/</a><br>
_______________________________________________<br>
Lxc-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
<a moz-do-not-send="true"
href="https://lists.sourceforge.net/lists/listinfo/lxc-users"
target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<span style="border-collapse: collapse;">
<div><span style="border-collapse: collapse;"><span
style="border-collapse: separate;">
<div style="margin-top: 0px; margin-bottom: 0px;">
<div style="margin: 0px; background-color: transparent;
font-family: 'Times New Roman';"><span>Open source
radio in the cloud. Get yours now!</span><span>
---> </span><a moz-do-not-send="true"
href="http://airtime.pro/" target="_blank">http://airtime.pro</a></div>
<div style="color: rgb(0, 0, 0); margin: 0px;
background-color: transparent; font-family: 'Times New
Roman';"><span style="font-family: Verdana; color:
rgb(0, 0, 0); background-color: transparent;
font-weight: normal; font-style: normal;
text-decoration: none; vertical-align: baseline;
white-space: pre-wrap;"><br>
<br>
</span></div>
<div style="color: rgb(0, 0, 0); margin: 0px;
background-color: transparent; font-family: 'Times New
Roman';"><span style="font-family: Verdana; color:
rgb(0, 0, 0); background-color: transparent;
font-weight: normal; font-style: normal;
text-decoration: none; vertical-align: baseline;
white-space: pre-wrap;">Martin Konecny</span><br>
<span style="font-family: Verdana; color: rgb(0, 0,
0); background-color: transparent; font-weight:
normal; font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;">Software
Developer, Sourcefabric</span><br>
<span style="font-family: Verdana; color: rgb(0, 0,
0); background-color: transparent; font-weight:
normal; font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;"><a
moz-do-not-send="true"
href="mailto:martin.konecny@sourcefabric.org"
target="_blank">martin.konecny@sourcefabric.org</a></span><br>
<span style="font-family: Verdana; color: rgb(0, 0,
0); font-weight: normal; font-style: normal;
text-decoration: none; vertical-align: baseline;
white-space: pre-wrap; background-color:
transparent;"></span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0);
background-color: transparent; font-weight: normal;
font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;">720
Bathurst St. Suite 203</span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0);
background-color: transparent; font-weight: normal;
font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;">M5S
2R4, Toronto, ON, Canada</span><span
style="font-family: Verdana; color: rgb(0, 0, 0);
font-weight: normal; font-style: normal;
text-decoration: none; vertical-align: baseline;
white-space: pre-wrap; background-color:
transparent;"></span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0);
background-color: transparent; font-weight: normal;
font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;">+1
(416) 892-8420 (Cell)</span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0);
background-color: transparent; font-weight: normal;
font-style: normal; text-decoration: none;
vertical-align: baseline; white-space: pre-wrap;">Skype:
martin.konecny15</span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0);
font-weight: normal; font-style: normal;
text-decoration: none; vertical-align: baseline;
white-space: pre-wrap; background-color:
transparent;"></span><br>
<a moz-do-not-send="true"
href="http://www.sourcefabric.org/" target="_blank"><span
style="font-family: Verdana; color: rgb(0, 0,
153); background-color: transparent; font-weight:
normal; font-style: normal; text-decoration:
underline; vertical-align: baseline; white-space:
pre-wrap;">http://www.sourcefabric.org</span></a><br>
<a moz-do-not-send="true"
href="http://www.twitter.com/Sourcefabric"
target="_blank"><span style="font-family: Verdana;
color: rgb(0, 0, 153); background-color: rgb(255,
255, 255); font-weight: normal; font-style:
normal; text-decoration: underline;
vertical-align: baseline; white-space: pre-wrap;">http://www.twitter.com/Sourcefabric</span></a></div>
</div>
</span></span></div>
</span><br>
</blockquote>
</body>
</html>