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
705bfae0
Commit
705bfae0
authored
Jan 28, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gentoo: Add basic userns config
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
1609f0fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
Makefile.am
config/templates/Makefile.am
+1
-0
gentoo.userns.conf.in
config/templates/gentoo.userns.conf.in
+16
-0
configure.ac
configure.ac
+1
-0
No files found.
config/templates/Makefile.am
View file @
705bfae0
...
@@ -9,6 +9,7 @@ templatesconfig_DATA = \
...
@@ -9,6 +9,7 @@ templatesconfig_DATA = \
fedora.userns.conf
\
fedora.userns.conf
\
gentoo.common.conf
\
gentoo.common.conf
\
gentoo.moresecure.conf
\
gentoo.moresecure.conf
\
gentoo.userns.conf
\
oracle.common.conf
\
oracle.common.conf
\
oracle.userns.conf
\
oracle.userns.conf
\
plamo.common.conf
\
plamo.common.conf
\
...
...
config/templates/gentoo.userns.conf.in
0 → 100644
View file @
705bfae0
# CAP_SYS_ADMIN in init-user-ns is required for cgroup.devices
lxc.cgroup.devices.deny =
lxc.cgroup.devices.allow =
# We can't move bind-mounts, so don't use /dev/lxc/
lxc.devttydir =
# Extra bind-mounts for userns
lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0
lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0
lxc.mount.entry = /dev/tty dev/tty none bind,create=file 0 0
lxc.mount.entry = /dev/urandom dev/urandom none bind,create=file 0 0
# Extra fstab entries as mountall can't mount those by itself
lxc.mount.entry = /sys/firmware/efi/efivars sys/firmware/efi/efivars none bind,optional 0 0
lxc.mount.entry = /proc/sys/fs/binfmt_misc proc/sys/fs/binfmt_misc none bind,optional 0 0
configure.ac
View file @
705bfae0
...
@@ -570,6 +570,7 @@ AC_CONFIG_FILES([
...
@@ -570,6 +570,7 @@ AC_CONFIG_FILES([
config/templates/fedora.userns.conf
config/templates/fedora.userns.conf
config/templates/gentoo.common.conf
config/templates/gentoo.common.conf
config/templates/gentoo.moresecure.conf
config/templates/gentoo.moresecure.conf
config/templates/gentoo.userns.conf
config/templates/oracle.common.conf
config/templates/oracle.common.conf
config/templates/oracle.userns.conf
config/templates/oracle.userns.conf
config/templates/plamo.common.conf
config/templates/plamo.common.conf
...
...
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