[Lxc-users] Problems starting OL6.3 lxc container
Dwight Engen
dwight.engen at oracle.com
Mon Oct 22 12:33:27 UTC 2012
On Sun, 21 Oct 2012 16:27:01 +0700
"Fajar A. Nugraha" <list at fajar.net> wrote:
> On Sun, Oct 21, 2012 at 4:23 PM, C. L. Martinez
> <carlopmart at gmail.com> wrote:
> > On Sun, Oct 21, 2012 at 9:20 AM, Fajar A. Nugraha <list at fajar.net>
> > wrote:
> >>>> --
> >>>
> >>> No, problem continues ... I have used this template to create my
> >>> lxc container:
> >>
> >> In that I says use the unmodified config file first. For example,
> >> it says "lxc.devttydir = lxc" (which you commented out).
> >>
> >> If you HAVE used the default config file created by the template,
> >> but it still doesn't work, you should probably contact the template
> >> creator directly (it's on top of the template file) and ask them
> >> how to use the template.
> >>
> >> --
> >> Fajar
> >
> > Yes, I have commented out because when I launch lxc-start, returns
> > me this error:
> >
> > lxc-start 1350810587.498 ERROR lxc_confile - unknow key
> > lxc.devttydir lxc-start 1350810587.498 ERROR lxc_start_ui -
> > failed to read configuration file
>
> Looks like an old version problem. Did you know that the staging git
> repo on github is newer than released lxc version? I wouldn't be
> surprised if you need to recompile lxc -- using sources from that repo
> --- to get the template to work.
Exactly. You are trying to use the template from git staging lxc which
supports devttydir with older lxc-0.7.5 from OL6.3. If you want to use
the oracle template, I would also recommend just building from the
staging git repo:
(git clone git://github.com/lxc/lxc; ./autogen; ./configure; make rpm).
More information about the lxc-users
mailing list