Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
1cb849b7
Unverified
Commit
1cb849b7
authored
Jan 16, 2018
by
Kaarle Ritvanen
Committed by
Christian Brauner
Jan 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-alpine: allow retaining sys_ptrace per container
Signed-off-by:
Kaarle Ritvanen
<
kaarle.ritvanen@datakunkku.fi
>
parent
f5d35f37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
alpine.common.conf.in
config/templates/alpine.common.conf.in
+0
-1
lxc-alpine.in
templates/lxc-alpine.in
+3
-0
No files found.
config/templates/alpine.common.conf.in
View file @
1cb849b7
...
@@ -11,7 +11,6 @@ lxc.cap.drop = mknod
...
@@ -11,7 +11,6 @@ lxc.cap.drop = mknod
lxc.cap.drop = setpcap
lxc.cap.drop = setpcap
lxc.cap.drop = sys_nice
lxc.cap.drop = sys_nice
lxc.cap.drop = sys_pacct
lxc.cap.drop = sys_pacct
lxc.cap.drop = sys_ptrace
lxc.cap.drop = sys_rawio
lxc.cap.drop = sys_rawio
lxc.cap.drop = sys_resource
lxc.cap.drop = sys_resource
lxc.cap.drop = sys_tty_config
lxc.cap.drop = sys_tty_config
...
...
templates/lxc-alpine.in
View file @
1cb849b7
...
@@ -396,6 +396,9 @@ configure_container() {
...
@@ -396,6 +396,9 @@ configure_container() {
# hostname(1).
# hostname(1).
lxc.cap.drop = sys_admin
lxc.cap.drop = sys_admin
# Comment this out if you have to debug processes by tracing.
lxc.cap.drop = sys_ptrace
# Include common configuration.
# Include common configuration.
lxc.include =
$LXC_TEMPLATE_CONFIG
/alpine.common.conf
lxc.include =
$LXC_TEMPLATE_CONFIG
/alpine.common.conf
EOF
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment