<div dir="ltr">Does that mean that /etc/fstab within the container should be modified/removed?</div><div class="gmail_extra"><br clear="all"><div><br>Piotr<br></div>
<br><br><div class="gmail_quote">On Thu, Jan 16, 2014 at 3:55 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="HOEnZb"><div class="h5">Quoting Piotr R (<a href="mailto:tytus64@gmail.com">tytus64@gmail.com</a>):<br>
> The host is running stripped down version of Red Hat 6.4 and container is<br>
> running a bit different stripped down version of Red Hat 6.4. Both guest<br>
> and the host are customized quite substantially so it would be difficult to<br>
> list all the modifications. The container was created by extracting root<br>
> file system from an ISO. The root file system is distributed in an ISO in<br>
> an image file. I extracted the image file from the ISO, loopback mounted<br>
> the image an copied entire file system to a new directory. I did not use<br>
> lxc-create.<br>
><br>
> Following your advice I attempted to disable udev startup by the following<br>
> change:<br>
> --- /etc/rc.d/rc.sysinit.bak 2013-12-20 19:35:29.000000000 +0000<br>
> +++ /etc/rc.d/rc.sysinit 2014-01-16 19:08:34.527904279 +0000<br>
> @@ -137,7 +137,6 @@<br>
> nashpid=$(pidof nash 2>/dev/null)<br>
> [ -n "$nashpid" ] && kill $nashpid >/dev/null 2>&1<br>
> unset nashpid<br>
> -/sbin/start_udev<br>
><br>
> # Load other user-defined modules<br>
> for file in /etc/sysconfig/modules/*.modules ; do<br>
><br>
><br>
> This change get rid of udevd error message as expected but I still can't<br>
> get console prompt. I would greatly appreciate any suggestions about where<br>
> look for the problem.<br>
><br>
> BTW I don't think I understand how all the mounts are done in the<br>
> container. For example at which point and in what context the fstab file<br>
> specified by lxc.mount is used? Are the mounts done before or after<br>
> chrooting to the container?<br>
<br>
</div></div>The fstab entries specified in lxc.mount are done before the container<br>
init starts.<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>