centos.common.conf.in revision 28468a67cbe3a3b1dc915c6afabefd7d666cd11e
70N/A# This derives from the global common config
70N/Alxc.include = @LXCTEMPLATECONFIG@/common.conf
286N/A
70N/A# Capabilities
70N/A# Uncomment these if you don't run anything that needs the capability, and
70N/A# would like the container to run with less privilege.
70N/A#
70N/A# Dropping sys_admin disables container root from doing a lot of things
70N/A# that could be bad like re-mounting lxc fstab entries rw for example,
70N/A# but also disables some useful things like being able to nfs mount, and
70N/A# things that are already namespaced with ns_capable() kernel checks, like
70N/A# hostname(1).
70N/A# lxc.cap.drop = sys_admin
70N/A# lxc.cap.drop = net_raw # breaks dhcp/ping
70N/A# lxc.cap.drop = setgid # breaks login (initgroups/setgroups)
70N/A# lxc.cap.drop = dac_read_search # breaks login (pam unix_chkpwd)
70N/A# lxc.cap.drop = setuid # breaks sshd,nfs statd
70N/A# lxc.cap.drop = audit_control # breaks sshd (set_loginuid failed)
70N/A# lxc.cap.drop = audit_write
70N/Alxc.cap.drop = sys_nice sys_pacct sys_rawio
70N/A