mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-14 21:29:05 +00:00

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
12 lines
479 B
Plaintext
12 lines
479 B
Plaintext
# Do not load this file. Rather, load /etc/apparmor.d/lxc-containers, which
|
|
# will source all profiles under /etc/apparmor.d/lxc
|
|
|
|
profile lxc-container-default flags=(attach_disconnected,mediate_deleted) {
|
|
#include <abstractions/lxc/container-base>
|
|
|
|
# the container may never be allowed to mount devpts. If it does, it
|
|
# will remount the host's devpts. We could allow it to do it with
|
|
# the newinstance option (but, right now, we don't).
|
|
deny mount fstype=devpts,
|
|
}
|