<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>