[lxc-users] Why can proc not be remounted read-only inside a container?

Cal Leeming [Simplicity Media Ltd] cal.leeming at simplicitymedialtd.co.uk
Fri Jan 17 01:36:15 UTC 2014


This was discussed a while back;
https://lists.linuxcontainers.org/pipermail/lxc-users/2013-September/005646.html

Let us know how you get on.

Cal


On Fri, Jan 17, 2014 at 1:33 AM, Aaron Staley <astaley at berkeley.edu> wrote:

> I'm trying to run an application that works fine on my host inside a
> container.
>
> The application executes:
> mount -t proc -o ro proc /mnt/remount_point
> But this command errors:
> mount: cannot mount block device proc read-only
>
> mounting read-write (mount -t proc proc /mnt/remount_point) does work
> however.
>
> I'd rather not modify the application.  Is there some LXC option/other
> issue blocking a RO mount of proc?
>
> Thanks,
> Aaron
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140117/665684ed/attachment.html>


More information about the lxc-users mailing list