<div dir="ltr">I've installed the lxc-0.9 rpms and installed the attached fedora template. The container is created successfully and can be started, but without networking. The equivalent operation on my ubuntu 13.04 system produces a container with network connectivity.<div>
<br></div><div>I haven't been able to do an apples to apples comparison since I can't seem to install a debian CT on fedora nor a fedora CT on ubuntu.</div><div><br></div><div>Any hints as to where I should be looking?</div>
<div><br></div><div>Joe<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 11:18 AM, Michael H. Warfield <span dir="ltr"><<a href="mailto:mhw@wittsend.com" target="_blank">mhw@wittsend.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Mon, 2013-07-08 at 12:54 -0400, Michael H. Warfield wrote:<br>
> On Mon, 2013-07-08 at 08:51 -0700, jjs - mainphrame wrote:<br>
> > Hi Michael,<br>
<br>
> > Yes, it is lxc-0.8 from the repos. I did notice that ubuntu shipped<br>
> > with lxc-0.9.<br>
<br>
> > You're right, f19 failed during the download phase. All the others<br>
> > failed at the end with the chroot error.<br>
<br>
> Good. I just completed Ubuntu and Debian container installs without<br>
> running into any errors (though the Ubuntu container install seemed to<br>
> take FOREVER).<br>
<br>
> I'm working on a patch for the Fedora template and will submit it up to<br>
> the devel list, hopefull later today (I have several things on my list).<br>
> Once Serge and Stéphane accept that, it'll be in the git repo for the<br>
> next release.<br>
<br>
</div>I have a new lxc-fedora template now. It's been tested running on<br>
Fedora 17 through 19 and has installed Fedora containers for 11, 12, 13,<br>
14, 16, 17, 18, and 19.<br>
<br>
Fedora 15 container creation runs into a dependency on<br>
fedora-rawhide-release (WHY???) but is way past EOL so I really don't<br>
care. Containers built manually don't run, anyways, thanks to that<br>
version of systemd packaged with it. Fedora prior to 11 also has weird<br>
errors with the repos that's it's not worth worry or trying to fix,<br>
they're so old. Those earlier ones where just built to test the<br>
template script anyways and the legacy repos tend to be a bit flaky...<br>
<br>
Fedora 16 will build but will not run and, really, I expected that.<br>
It's a compatibility problem with, what else, the systemd version<br>
running in that container. It's also post EOL and not worth any effort<br>
(though I did try months ago - it's really a lost cause, it's so bad).<br>
<div><br>
> > Thanks for the feedback, I now have a better sense of what's going on.<br>
> > If you'd care to share any of your packages or scripts, I'd be<br>
> > indebted.<br>
<br>
> I'll see what I can do.<br>
<br>
</div>I've attached a new lxc-fedora template. Copy this<br>
to /usr/share/lxc/template/lxc-fedora AFTER installing 0.9.0. I'll be<br>
posting a patch to -devel later today. There's more than just the fixes<br>
to the retry logic and the release download logic you need in there. It<br>
also incorporates other patches that are already in staging plus a few<br>
fixes for host version checking. You can try it out and see how it<br>
works for you.<br>
<div><br>
> Thomas Moschny posted a link to some prebuilt rpms here:<br>
<br>
> <a href="http://thm.fedorapeople.org/lxc/" target="_blank">http://thm.fedorapeople.org/lxc/</a><br>
<br>
> I haven't used them but I suspect they're not much different than the<br>
> ones I build. You may need to manually removed the lxc-doc package from<br>
> the stock repository as there's a conflict in the rpm builds and the<br>
> 0.9.0 package is not obsoleting the Fedora 0.8.0 lxc-doc package.<br>
><br>
> > Joe<br>
<br>
Regards,<br>
Mike<br>
</div><div><div>--<br>
Michael H. Warfield (AI4NB) | <a href="tel:%28770%29%20985-6132" value="+17709856132" target="_blank">(770) 985-6132</a> | mhw@WittsEnd.com<br>
/\/\|=mhw=|\/\/ | <a href="tel:%28678%29%20463-0932" value="+16784630932" target="_blank">(678) 463-0932</a> | <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br>
NIC whois: MHW9 | An optimist believes we live in the best of all<br>
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!<br>
</div></div></blockquote></div><br></div></div></div>