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