]> git.ipfire.org Git - thirdparty/lxc.git/commit
apparmor: Allow slave bind mounts 285/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 30 Jul 2014 14:43:10 +0000 (16:43 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 30 Jul 2014 14:43:10 +0000 (16:43 +0200)
commit7987eddb9f916b67110fb2d04470bed10022f67f
tree2db79d3a1e97f4a3174bb111aa7b41504974a009
parent04cda6d1d34e89ab5e27fdb39d3028cac6faecc4
apparmor: Allow slave bind mounts

Without this, if the system uses shared subtrees by default (like systemd), you
get a large stream of

  lxc-start: Permission denied - Failed to make /<mountpoint> rslave
  lxc-start: Continuing...

with

  apparmor="DENIED" operation="mount" info="failed flags match" error=-13
  profile="/usr/bin/lxc-start" name="/" pid=17284 comm="lxc-start" flags="rw, slave"

and eventual failure plus a lot of leftover mounts in the host.

https://launchpad.net/bugs/1325468
config/apparmor/abstractions/start-container