config/apparmor/profiles/lxc-default
raw| 1 | # Do not load this file. Rather, load /etc/apparmor.d/lxc-containers, which |
| 2 | # will source all profiles under /etc/apparmor.d/lxc |
| 3 | |
| 4 | profile lxc-container-default flags=(attach_disconnected,mediate_deleted) { |
| 5 | #include <abstractions/lxc/container-base> |
| 6 | |
| 7 | # the container may never be allowed to mount devpts. If it does, it |
| 8 | # will remount the host's devpts. We could allow it to do it with |
| 9 | # the newinstance option (but, right now, we don't). |
| 10 | deny mount fstype=devpts, |
| 11 | } |