<div dir="ltr">Thanks for your help Serge.<div><br></div><div>Unfortunately I hit another problem. When I start my container with networking commented out my console does not display the login prompt and I see the following error messages after lxc-start:</div>
<div><div>udevd[74]: bind failed: Address already in use</div><div><br></div><div>udevd[74]: error binding control socket, seems udevd is already running</div><div><br></div><div>Here is my config file:</div><div><br></div>
<div><div># cat /var/lib/lxc/clp/config </div><div>#lxc.network.type = empty</div><div>#lxc.network.flags = up</div><div>lxc.rootfs = /var/lib/lxc/clp/rootfs</div><div>lxc.utsname = clp</div><div>lxc.tty = 4</div><div>lxc.pts = 1024</div>
<div>lxc.mount = /var/lib/lxc/clp/fstab</div></div></div><div><br></div><div>And I use the following fstab file:</div><div><div># cat /var/lib/lxc/clp/fstab  </div><div>/dev      /var/lib/lxc/clp/rootfs/dev      none bind 0 0</div>
<div>/dev/pts  /var/lib/lxc/clp/rootfs/dev/pts  none bind 0 0</div><div>/sys      /var/lib/lxc/clp/rootfs/sys      none bind 0 0</div><div><br></div><div>/clp_data/data           /var/lib/lxc/clp/rootfs/data           none bind 0 0</div>
<div>/clp_data/encrypted-data /var/lib/lxc/clp/rootfs/encrypted-data none bind 0 0</div><div>/clp_data/cache-data    /var/lib/lxc/clp/rootfs/cache-data     none bind 0 0</div><div>/clp_data/core          /var/lib/lxc/clp/rootfs/core           none bind 0 0</div>
</div><div><br></div><div><br></div><div>If I uncomment lxc.network.* statements my container comes up with no problems and my console works as expected.</div><div>Any ideas what is udev control socket? How can I get my console login prompt?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Piotr</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><br>Piotr<br></div>
<br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 12:47 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.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">Quoting Piotr R (<a href="mailto:tytus64@gmail.com">tytus64@gmail.com</a>):<br>
> Sorry for not including lxc version. I am running lxc on Red Hat 6.4:<br>
> # rpm -qa | grep lxc<br>
> lxc-libs-0.9.0-2.el6.x86_64<br>
> lxc-0.9.0-2.el6.x86_64<br>
><br>
> When I used none for network type I got the following error:<br>
> lxc-start: invalid network type none<br>
> lxc-start: failed to read configuration file<br>
><br>
> So I presume I should just remove all lxc.network statements from my config<br>
> file to get it working.<br>
<br>
</div>Yes, in 0.9.0 that will work.<br>
<div class="HOEnZb"><div class="h5"><br>
-serge<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>
</div></div></blockquote></div><br></div>