[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-users
Subject: Re: [lxc-users] lxc-start fails
From: "SIVA SUBRAMANIAN.P" <psiva87 () gmail ! com>
Date: 2015-05-21 0:41:47
Message-ID: CAOorjZTo0YwdniJuxbf_dCVz3X+ArZsod59YL-=Md9=56ye30w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
No, I'm trying to add it.
On Wed, May 20, 2015 at 4:27 PM, Fajar A. Nugraha <list@fajar.net> wrote:
> Does your busybox include "init" applet? Does it print "init" (among
> lots of other things) when you run "busybox" without arguments?
>
> --
> Fajar
>
> On Thu, May 21, 2015 at 1:23 AM, SIVA SUBRAMANIAN.P <psiva87@gmail.com>
> wrote:
> > Thanks Fajar,
> > Now I'm able to configure statically linked busybox to get rid of
> warnings,
> > but init applet error exists.
> >
> > On Mon, May 18, 2015 at 4:44 PM, Fajar A. Nugraha <list@fajar.net>
> wrote:
> >>
> >> Read the messages
> >>
> >> (1)
> >> > /usr/share/lxc/templates/lxc-busybox: line 182: file: command not
> found
> >>
> >> you don't have the necessary programs on your host (i.e. you don't
> >> have "file", usually installed as "/usr/bin/file").
> >>
> >> (2)
> >> > warning : busybox is not statically linked.
> >> > warning : The template script may not correctly
> >>
> >> your busybox is not statically linked. On ubuntu, you'd need the
> >> "busybox-static" package.
> >>
> >> (3)
> >> > # lxc-start --name u1
> >> > init: applet not found
> >>
> >> This might be the result of (2), your busybox does not recognize
> >> "init" as an applet that it handles. Again, on ubuntu, using
> >> "busybox-static" should work.
> >>
> >> Are you using your own self-compiled busybox? If yes, there are
> >> options during compile time to enable static linking as well as
> >> selecting which applets to enable.
> >>
> >> --
> >> Fajar
> >>
> >> On Tue, May 19, 2015 at 3:02 AM, Sivasubramanian Patchaiperumal
> >> <Sivasubramanian.Patchaiperumal@lnttechservices.com> wrote:
> >> > Hi,
> >> > I'm trying to create and run busybox container, but facing below
> error.
> >> > # lxc-create --template=busybox --name=u1
> >> > /usr/share/lxc/templates/lxc-busybox: line 182: file: command not
> found
> >> > warning : busybox is not statically linked.
> >> > warning : The template script may not correctly
> >> > warning : setup the container environment.
> >> > chmod: /var/lib/lxc/u1/rootfs/bin/passwd: No such file or directory
> >> > setting root password to "root"
> >> > Failed to change root password
> >> > 'dropbear' ssh utility installed
> >> >
> >> > # lxc-start --name u1
> >> > init: applet not found
> >> > lxc-start: lxc_start.c: main: 342 The container failed to start.
> >> > lxc-start: lxc_start.c: main: 346 Additional information can be
> obtained
> >> > by
> >> > setting the --logfile and --logpriority options.
> >> >
> >> > Regards,
> >> > Sivasubramanian
> >> > Skype: sivasubramanian.patchaiperumal
> >> >
> >> > L&T Technology Services Ltd
> >> >
> >> > www.LntTechservices.com
> >> >
> >> > This Email may contain confidential or privileged information for the
> >> > intended recipient (s). If you are not the intended recipient, please
> do
> >> > not
> >> > use or disseminate the information, notify the sender and delete it
> from
> >> > your system.
> >> >
> >> >
> >> > _______________________________________________
> >> > lxc-users mailing list
> >> > lxc-users@lists.linuxcontainers.org
> >> > http://lists.linuxcontainers.org/listinfo/lxc-users
> >> _______________________________________________
> >> lxc-users mailing list
> >> lxc-users@lists.linuxcontainers.org
> >> http://lists.linuxcontainers.org/listinfo/lxc-users
> >
> >
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users@lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
[Attachment #5 (text/html)]
<div dir="ltr">No, I'm trying to add it.</div><div class="gmail_extra"><br><div \
class="gmail_quote">On Wed, May 20, 2015 at 4:27 PM, Fajar A. Nugraha <span \
dir="ltr"><<a href="mailto:list@fajar.net" \
target="_blank">list@fajar.net</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Does your busybox include "init" applet? Does it \
print "init" (among<br> lots of other things) when you run \
"busybox" without arguments?<br> <span class="HOEnZb"><font \
color="#888888"><br>
--<br>
Fajar<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, May 21, 2015 at 1:23 AM, SIVA SUBRAMANIAN.P <<a \
href="mailto:psiva87@gmail.com">psiva87@gmail.com</a>> wrote:<br> > Thanks \
Fajar,<br> > Now I'm able to configure statically linked busybox to get rid of \
warnings,<br> > but init applet error exists.<br>
><br>
> On Mon, May 18, 2015 at 4:44 PM, Fajar A. Nugraha <<a \
href="mailto:list@fajar.net">list@fajar.net</a>> wrote:<br> >><br>
>> Read the messages<br>
>><br>
>> (1)<br>
>> > /usr/share/lxc/templates/lxc-busybox: line 182: file: command not \
found<br> >><br>
>> you don't have the necessary programs on your host (i.e. you \
don't<br> >> have "file", usually installed as \
"/usr/bin/file").<br> >><br>
>> (2)<br>
>> > warning : busybox is not statically linked.<br>
>> > warning : The template script may not correctly<br>
>><br>
>> your busybox is not statically linked. On ubuntu, you'd need the<br>
>> "busybox-static" package.<br>
>><br>
>> (3)<br>
>> > # lxc-start --name u1<br>
>> > init: applet not found<br>
>><br>
>> This might be the result of (2), your busybox does not recognize<br>
>> "init" as an applet that it handles. Again, on ubuntu, using<br>
>> "busybox-static" should work.<br>
>><br>
>> Are you using your own self-compiled busybox? If yes, there are<br>
>> options during compile time to enable static linking as well as<br>
>> selecting which applets to enable.<br>
>><br>
>> --<br>
>> Fajar<br>
>><br>
>> On Tue, May 19, 2015 at 3:02 AM, Sivasubramanian Patchaiperumal<br>
>> <<a href="mailto:Sivasubramanian.Patchaiperumal@lnttechservices.com">Sivasubramanian.Patchaiperumal@lnttechservices.com</a>> \
wrote:<br> >> > Hi,<br>
>> > I'm trying to create and run busybox container, but facing below \
error.<br> >> > # lxc-create --template=busybox --name=u1<br>
>> > /usr/share/lxc/templates/lxc-busybox: line 182: file: command not \
found<br> >> > warning : busybox is not statically linked.<br>
>> > warning : The template script may not correctly<br>
>> > warning : setup the container environment.<br>
>> > chmod: /var/lib/lxc/u1/rootfs/bin/passwd: No such file or directory<br>
>> > setting root password to "root"<br>
>> > Failed to change root password<br>
>> > 'dropbear' ssh utility installed<br>
>> ><br>
>> > # lxc-start --name u1<br>
>> > init: applet not found<br>
>> > lxc-start: lxc_start.c: main: 342 The container failed to start.<br>
>> > lxc-start: lxc_start.c: main: 346 Additional information can be \
obtained<br> >> > by<br>
>> > setting the --logfile and --logpriority options.<br>
>> ><br>
>> > Regards,<br>
>> > Sivasubramanian<br>
>> > Skype: sivasubramanian.patchaiperumal<br>
>> ><br>
>> > L&T Technology Services Ltd<br>
>> ><br>
>> > <a href="http://www.LntTechservices.com" \
target="_blank">www.LntTechservices.com</a><br> >> ><br>
>> > This Email may contain confidential or privileged information for \
the<br> >> > intended recipient (s). If you are not the intended recipient, \
please do<br> >> > not<br>
>> > use or disseminate the information, notify the sender and delete it \
from<br> >> > your system.<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > lxc-users mailing list<br>
>> > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
>> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" \
target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br> >> \
_______________________________________________<br> >> lxc-users mailing \
list<br> >> <a \
href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
>> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" \
target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br> ><br>
><br>
><br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" \
target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br> \
_______________________________________________<br> lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" \
target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>
[Attachment #6 (text/plain)]
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic