<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Vanilla 12.10 Ubuntu server:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText style='margin-left:.5in'><span style='font-family:"Courier New"'>root@atlas01:~# sudo lxc-version<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:.5in'><span style='font-family:"Courier New"'>lxc version: 0.8.0-rc1<o:p></o:p></span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I may very well have accidentally tried to start the same container twice, I think I fat-fingered something just before encountering the issue, and I’ve never had it happen on any of our other boxes. Anyway, it’s of no real consequence to me now as I cleared it easily enough, but I thought it worth mentioning.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Dave<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Serge Hallyn [mailto:serge.hallyn@ubuntu.com] <br>Sent: Friday, April 12, 2013 8:58 PM<br>To: David Parks<br>Cc: lxc-users@lists.sourceforge.net<br>Subject: Re: [Lxc-users] Very odd lxc behavior</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Quoting David Parks (<a href="mailto:davidparks21@yahoo.com"><span style='color:windowtext;text-decoration:none'>davidparks21@yahoo.com</span></a>):<o:p></o:p></p><p class=MsoPlainText>> Today I saw this.<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> I had started half the containers when I noticed the problem (not all <o:p></o:p></p><p class=MsoPlainText>> of them as the output below suggests).<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> I stopped them all (which generated some errors, seen at the end).<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> After stopping them all everything went back to normal and I could <o:p></o:p></p><p class=MsoPlainText>> start them all successfully without "strangeness".<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>>  <o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>>  <o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> root@atlas01:/var/lib/lxc# lxc-list<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> RUNNING<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> ls: cannot access testdb1: No such file or directory<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Is this by chance an older version of lxc?  It sounds like there were later attempts to start testdb1, and so<o:p></o:p></p><p class=MsoPlainText>/sys/fs/cgroup/freezer/lxc/testdb1 got renamed to deadXXXXX, then the later attempt failed, so<o:p></o:p></p><p class=MsoPlainText>/sys/fs/cgroup/freezer/lxc/testdb1 ended up not existing.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Note that that behavior no longer exists in very recent lxc.<o:p></o:p></p><p class=MsoPlainText>Rather, the second attempt would use<o:p></o:p></p><p class=MsoPlainText>/sys/fs/cgroup/freezer/lxc/testdb1-2, and lxc-list would ask the container monitor for the right cgroup path, preventing this -ENOENT.  At least that's the theory :)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-serge<o:p></o:p></p></div></body></html>