https://help.ubuntu.com/lts/serverguide/lxc.html did provide a workaround: in 
the section on nesting, it mentioned
that enabling nesting allowed all sorts of mounts.  So I added

lxc.mount.auto = cgroup
lxc.aa_profile = lxc-container-default-with-nesting

to the container's config file, restarted the container, and was then
able to install the package.

So consider this a minor doc enhancement request.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575757

Title:
  Can't install kernel-nfs-server inside lxc container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1575757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to