<div dir="ltr"><div><div><div>Hi,<br><br></div><div>Thanks everyone for the time to reply back.<br><br></div>My only reason for using FEDORA14 is I am really uncomfortable with systemd which got added into FEDORA15 and above.<br>
<br></div>I initially started up with FEDORA17 and ended up with issues in systemd which needed some manual changes to make it work on FEDORA17. As pointed eventhough FEDORA14 is EOL I just wanted to try it out without systemd jargon as I am trying for embedded environment. If there is any better alternative without systemd I could try the same.<br>
<br></div><div>As michael pointed out I could try 0.9 version of lxc library.</div><div><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 9:53 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 2013-07-30 at 16:02 +0530, Ajith Adapa wrote:<br>
> Hi,<br>
<br>
> I am stuck with a issue in Fedora 14 using lxc.<br>
<br>
</div>Stuck? Stuck with what? Stuck with an issue or stuck with Fedora 14.<br>
Using Fedora 14 as a host at this point in time is insane. It's way<br>
over a year and a half past EOL - end of life (F16 is already EOL) - and<br>
I've already shotgunned all my Fedora 14 hosts and guests. You won't<br>
even get high risk security fixes and updates for F14 at this point.<br>
You're just engaging in an unsupportable exercise in masochism. You<br>
won't have recent kernels and you won't have recent versions of lxc<br>
which will never become available for that version of Fedora from the<br>
repositories.<br>
<div class="im"><br>
> I have create a container using the template available at -<br>
> <a href="https://launchpadlibrarian.net/83751818/lxc-fedora" target="_blank">https://launchpadlibrarian.net/83751818/lxc-fedora</a><br>
<br>
> container is created successfuly and when I try lxc-start command I am<br>
> getting stuck as shown below.<br>
<br>
> There seems to be some issues with /etc/fstab. Any pointers or proper<br>
> template to create a container would be of great help.<br>
<br>
</div>No clue. I've been working on the Fedora template and patching it.<br>
That template you pointed to is seriously very out of date. It looks<br>
like the old template I started patching some time ago. I wouldn't<br>
trust it. I've added a lot of patches (someone pointed to an up-to-date<br>
cut on github) for a lot of fedora versions. Still... I would not<br>
guarantee THAT will work on lxc 0.7.2. You got bigger problems on both<br>
fronts (Fedora version and LXC version) that you need to fix first.<br>
<div><div class="h5"><br>
> # lxc-start -n test<br>
> Welcome to Fedora<br>
> Setting hostname localhost: [ OK ]<br>
> Checking filesystems<br>
> WARNING: couldn't open /etc/fstab: No such file or directory<br>
> [ OK ]<br>
> warning: can't open /etc/fstab: No such file or directory<br>
> mount: can't find / in /etc/fstab or /etc/mtab<br>
> Mounting local filesystems: warning: can't open /etc/fstab: No such<br>
> file or directory<br>
> [ OK ]<br>
> No such file or directory<br>
> Enabling /etc/fstab swaps: swapon: /etc/fstab: open failed: No such<br>
> file or directory<br>
> [FAILED]<br>
> Entering non-interactive startup<br>
> Bringing up loopback interface: [ OK ]<br>
> Bringing up interface eth0:<br>
> Determining IP information for eth0... done.<br>
> [ OK ]<br>
> Starting system logger: [ OK ]<br>
> awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No<br>
> such file or directory)<br>
> awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No<br>
> such file or directory)<br>
> awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No<br>
> such file or directory)<br>
> awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No<br>
> such file or directory)<br>
> Mounting other filesystems: warning: can't open /etc/fstab: No such<br>
> file or directory<br>
> [ OK ]<br>
><br>
> ^[[17~^C^Z^F[root@localhost ~]# lxc-version<br>
> lxc version: 0.7.2<br>
<br>
</div></div>That version has to end. I can't support it and won't even bother to<br>
debug it. We're at 0.9 and closing in on 1.0. I have patches for<br>
templates and even base lxc binaries at all those levels. We can't even<br>
support 0.7.5 while even 0.8 has problems that can only be resolved by<br>
upgrading. There are rpms available (which will install on Fedora 14 -<br>
I have built and installed similar in parallel). Upgrade to lxc 0.9.0<br>
FIRST and then try it. Upgrade to the latest Fedora and then ask... I<br>
refuse to even test on a Fedora 14 host (which I don't even have any<br>
longer and haven't had for almost a year). It makes no bloody sense.<br>
If it doesn't work, well, there's your first problem. I wouldn't even<br>
look at it at this point. That's got to be fundamental, to your ground<br>
work, to get up-to-date first.<br>
<br>
Fedora is nice and rock solid stable and I absolutely love it but it is<br>
intended for those of us who (yes - are batshit crazy and) want and<br>
demand the latest toys and features and have no fear of venturing onto<br>
the bleeding edge of technology. You accept that burden and<br>
responsibility of upgrading and staying on that edge. You made that<br>
choice. If you have to stay at the Fedora 14 level, you should not be<br>
on Fedora at all, you should be on CentOS 6 or similar which has a<br>
longer support and release cycle. But, then you don't get the nice new<br>
shiny toys we're building here. Goes with the territory. You can't<br>
have it both ways.<br>
<br>
Sorry if I'm coming across harsh here but Fedora 14 has to be a<br>
non-starter at this point. It's not worth wasting time here. You are<br>
on an unsupported version of Fedora using an unsupported version of LXC.<br>
First step... Get up to date. I don't have your problem at all.<br>
But... I'm running F17 on my test host (which is near EOL already) and<br>
F18 on my production engines with an LXC 0.9.0 upgrade. I don't have<br>
your problem and can not possibly suggest what's wrong with your setup.<br>
<br>
Regards,<br>
Mike<br>
<span class="HOEnZb"><font color="#888888">--<br>
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw@WittsEnd.com<br>
/\/\|=mhw=|\/\/ | (678) 463-0932 | <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>
</font></span></blockquote></div><br></div>