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