Merge pull request #12 from kunkku/alpine-setpcap

alpine: make dropping setpcap optional
This commit is contained in:
Stéphane Graber 2018-09-29 17:34:52 +02:00 committed by GitHub
commit ffccfe483b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,6 @@ lxc.tty.dir =
lxc.cap.drop = audit_write
lxc.cap.drop = ipc_owner
lxc.cap.drop = mknod
lxc.cap.drop = setpcap
lxc.cap.drop = sys_nice
lxc.cap.drop = sys_pacct
lxc.cap.drop = sys_rawio

View File

@ -401,6 +401,9 @@ configure_container() {
# Comment this out if you have to debug processes by tracing.
lxc.cap.drop = sys_ptrace
# Comment this out if required by your applications.
lxc.cap.drop = setpcap
# Include common configuration.
lxc.include = $LXC_TEMPLATE_CONFIG/alpine.common.conf
EOF