<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Ubuntu 13.04 comes with lxc 0.9?<br>
I used same version (from debian testing) on wheezy and I have no
problem with read only proc.<br>
<br>
And my mount options are the same as yours, strange.<br>
lxc.mount.entry = proc
/srv/vserver/vs-db01-dev/rootfs/proc proc nodev,noexec,nosuid,ro 0
0<br>
<br>
Regards,<br>
Andreas<br>
<br>
Am 18.09.2013 15:15, schrieb Andre Nathan:<br>
</div>
<blockquote cite="mid:5239A778.2030706@digirati.com.br" type="cite">
<pre wrap="">Hello
In Ubuntu 12.04 I used to be able to create containers with this line in
the container's fstab:
proc /var/lib/lxc/test/rootfs/proc proc ro,nodev,noexec,nosuid 0 0
Now in 13.04 I get the following error:
$ sudo lxc-start -n test -f /var/lib/lxc/test/lxc.conf -lDEBUG -L
/dev/stdout
lxc-start: Permission denied - failed to create symlink for kmsg
lxc-start: failed to setup kmsg for 'test'
lxc-start: Read-only file system - failed to change apparmor profile to
unconfined
lxc-start: invalid sequence number 1. expected 4
lxc-start: failed to spawn 'test'
This happens even when apparmor is disabled for lxc-start.
Just changing the "ro" to "rw" in fstab allows the container to start.
Is is possible to have a read-only container /proc in newer LXC?
Thanks,
Andre
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</a>
</pre>
</blockquote>
<br>
</body>
</html>