[Lxc-users] LXC, AppArmor, NFS, and Ubuntu 12.04

Nathan Fisher nfisher+sfnet at junctionbox.ca
Thu Aug 2 15:59:44 UTC 2012


Hi,

Previously using Ubuntu 11.10, upgraded to 12.04.  Under 12.04, NFS shares
no longer function due to AppArmor constraints on the mount command.

What is the prescribed best practise to mount NFS shares within a Guest
that will minimise maintenance with future Ubuntu updates for 12.04?

I see three options at the moment;

1) Mount within the host.
2) Modify the AppArmor profile for lxc-containers (will this evolve within
12.04 LTS?)
3) Disable AppArmor.

Are there any other options that I've missed?  Option 2 is the most
desirable as it means the guest is self-contained and *somewhat*
transportable between a cluster of hosts.

Thanks!

Nathan
w: http://junctionbox.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120802/7c2cd490/attachment.html>


More information about the lxc-users mailing list