This particular issue can be fixed in /etc/apparmor.d/abstractions/lxc
/start-container by adding a line

  mount options in rw, slave,

After "sudo /etc/init.d/apparmor reload" that "Failed to make / rslave"
error is now gone. It still fails with the next error (Input/output
error - error 5 creating /usr/lib/x86_64-linux-gnu/lxc/dev/lxc/console),
but this seems to be an unrelated other bug.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1325468

Title:
  [systemd] container startup fails with AppArmor

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to