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

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to