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