<div dir="ltr">This was discussed a while back;<div><a href="https://lists.linuxcontainers.org/pipermail/lxc-users/2013-September/005646.html">https://lists.linuxcontainers.org/pipermail/lxc-users/2013-September/005646.html</a></div>
<div><br></div><div>Let us know how you get on.</div><div><br></div><div>Cal</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 17, 2014 at 1:33 AM, Aaron Staley <span dir="ltr"><<a href="mailto:astaley@berkeley.edu" target="_blank">astaley@berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to run an application that works fine on my host inside a container.<div><br></div><div>The application executes:</div>
<div>mount -t proc -o ro proc /mnt/remount_point</div><div>But this command errors:</div>

<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">mount: cannot mount block device proc read-only</span></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div>


<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">mounting read-write (<span style="font-family:arial;font-size:small">mount -t proc proc /mnt/remount_point) does work however.</span></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">


<span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:arial;font-size:small">I'd rather not modify the application.  Is there some LXC option/other issue blocking a RO mount of proc?</span></div>


<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:arial;font-size:small">Thanks,</span></div>


<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:arial;font-size:small">Aaron</span></div></div>
<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></blockquote></div><br></div>