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
ce08b042
Unverified
Commit
ce08b042
authored
Jul 19, 2018
by
Christian Brauner
Committed by
GitHub
Jul 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2481 from hwoarang/fix-apparmor-paths
apparmor: Allow /usr/lib* paths for mount and pivot_root
parents
c77abb20
733e3757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
start-container
config/apparmor/abstractions/start-container
+6
-6
No files found.
config/apparmor/abstractions/start-container
View file @
ce08b042
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
ptrace,
ptrace,
# currently blocked by apparmor bug
# currently blocked by apparmor bug
mount -> /usr/lib/*/lxc/{**,},
mount -> /usr/lib
*
/*/lxc/{**,},
mount -> /usr/lib/lxc/{**,},
mount -> /usr/lib
*
/lxc/{**,},
mount fstype=devpts -> /dev/pts/,
mount fstype=devpts -> /dev/pts/,
mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,
mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,
mount options=bind /dev/pts/** -> /dev/**,
mount options=bind /dev/pts/** -> /dev/**,
...
@@ -34,10 +34,10 @@
...
@@ -34,10 +34,10 @@
# This may look a bit redundant, however it appears we need all of
# This may look a bit redundant, however it appears we need all of
# them if we want things to work properly on all combinations of kernel
# them if we want things to work properly on all combinations of kernel
# and userspace parser...
# and userspace parser...
pivot_root /usr/lib/lxc/,
pivot_root /usr/lib
*
/lxc/,
pivot_root /usr/lib/*/lxc/,
pivot_root /usr/lib
*
/*/lxc/,
pivot_root /usr/lib/lxc/**,
pivot_root /usr/lib
*
/lxc/**,
pivot_root /usr/lib/*/lxc/**,
pivot_root /usr/lib
*
/*/lxc/**,
change_profile -> lxc-*,
change_profile -> lxc-*,
change_profile -> unconfined,
change_profile -> unconfined,
...
...
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