]> git.proxmox.com Git - mirror_lxc.git/blob - config/templates/archlinux.common.conf.in
Turn autodev on by default
[mirror_lxc.git] / config / templates / archlinux.common.conf.in
1 # This derives from the global common config
2 lxc.include = @LXCTEMPLATECONFIG@/common.conf
3
4 # Allow for 6 tty devices by default
5 lxc.tty = 6
6
7 # Disable kmsg
8 lxc.kmsg = 0
9
10 # Set the halt/stop signals
11 lxc.haltsignal=SIGRTMIN+4
12 lxc.stopsignal=SIGRTMIN+14
13
14 # Mount entries
15 lxc.mount.auto = proc:mixed sys:ro
16
17 # Uncomment to disable creating tty devices subdirectory in /dev
18 # lxc.devttydir =
19
20 # Capabilities
21 # Uncomment these if you don't run anything that needs the capability, and
22 # would like the container to run with less privilege.
23 #
24 # Dropping sys_admin disables container root from doing a lot of things
25 # that could be bad like re-mounting lxc fstab entries rw for example,
26 # but also disables some useful things like being able to nfs mount, and
27 # things that are already namespaced with ns_capable() kernel checks, like
28 # hostname(1).
29 # lxc.cap.drop = sys_admin
30 # lxc.cap.drop = net_raw # breaks dhcp/ping
31 # lxc.cap.drop = setgid # breaks login (initgroups/setgroups)
32 # lxc.cap.drop = dac_read_search # breaks login (pam unix_chkpwd)
33 # lxc.cap.drop = setuid # breaks sshd,nfs statd
34 # lxc.cap.drop = audit_control # breaks sshd (set_loginuid failed)
35 # lxc.cap.drop = audit_write
36 # lxc.cap.drop = setpcap # big big login delays in Fedora 20 systemd
37 #
38 lxc.cap.drop = setfcap sys_nice sys_pacct sys_rawio