<div dir="ltr">The host is running stripped down version of Red Hat 6.4 and container is running a bit different stripped down version of Red Hat 6.4. Both guest and the host are customized quite substantially so it would be difficult to list all the modifications. The container was created by extracting root file system from an ISO. The root file system is distributed in an ISO in an image file. I extracted the image file from the ISO, loopback mounted the image an copied entire file system to a new directory. I did not use lxc-create.<div>
<br></div><div>Following your advice I attempted to disable udev startup by the following change:</div><div><div>--- /etc/rc.d/rc.sysinit.bak<span class="" style="white-space:pre">      </span>2013-12-20 19:35:29.000000000 +0000</div>
<div>+++ /etc/rc.d/rc.sysinit<span class="" style="white-space:pre">    </span>2014-01-16 19:08:34.527904279 +0000</div><div>@@ -137,7 +137,6 @@</div><div> nashpid=$(pidof nash 2>/dev/null)</div><div> [ -n "$nashpid" ] && kill $nashpid >/dev/null 2>&1</div>
<div> unset nashpid</div><div>-/sbin/start_udev</div><div> </div><div> # Load other user-defined modules</div><div> for file in /etc/sysconfig/modules/*.modules ; do</div></div><div><br></div><div><br></div><div>This change get rid of udevd error message as expected but I still can't get console prompt. I would greatly appreciate any suggestions about where look for the problem.</div>
<div><br></div><div>BTW I don't think I understand how all the mounts are done in the container. For example at which point and in what context the fstab file specified by lxc.mount is used? Are the mounts done before or after chrooting to the container? </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 11:49 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>
> Thanks for your help Serge.<br>
><br>
> Unfortunately I hit another problem. When I start my container with<br>
> networking commented out my console does not display the login prompt and I<br>
> see the following error messages after lxc-start:<br>
> udevd[74]: bind failed: Address already in use<br>
><br>
> udevd[74]: error binding control socket, seems udevd is already running<br>
<br>
</div>You don't want to run udevd in your container anyway - disable it.<br>
<br>
(To discuss any further we'd need to know more details about your setup -<br>
host distro/release and customizations, and how precisely the container<br>
was created.)<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>