From a341816ba6ed9d725e50f373c821ad04acca44d5 Mon Sep 17 00:00:00 2001 From: tukiyo Date: Fri, 10 Oct 2014 06:44:45 +0900 Subject: [PATCH] big big login delays in CentOS 7 systemd --- config/templates/centos.common.conf.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/templates/centos.common.conf.in b/config/templates/centos.common.conf.in index 5e880a202..0d4299dd4 100644 --- a/config/templates/centos.common.conf.in +++ b/config/templates/centos.common.conf.in @@ -27,8 +27,9 @@ lxc.hook.clone = @LXCHOOKDIR@/clonehostname # lxc.cap.drop = setuid # breaks sshd,nfs statd # lxc.cap.drop = audit_control # breaks sshd (set_loginuid failed) # lxc.cap.drop = audit_write +# lxc.cap.drop = setpcap # big big login delays in CentOS 7 systemd # -lxc.cap.drop = mac_admin mac_override setfcap setpcap +lxc.cap.drop = mac_admin mac_override setfcap lxc.cap.drop = sys_module sys_nice sys_pacct lxc.cap.drop = sys_rawio sys_time -- 2.47.2