From ecaf0bb271812c3af3e5916f14da0e37d26994d2 Mon Sep 17 00:00:00 2001 From: Fabiano Fidêncio Date: Wed, 15 Mar 2017 14:21:36 +0100 Subject: NSS: Don't call chown on NSS service's ExecStartPre MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sssd-nss.service attempts to chown its log file to ensure it has the correct owner. Unfortunately, when this happens, it enters in a loop trying to call into the name-service switch and hangs forever. For now the approach taken is to just remove the ExecStartPre from the NSS service. Resolves: https://pagure.io/SSSD/sssd/issue/3322 Signed-off-by: Fabiano Fidêncio Reviewed-by: Lukáš Slebodník --- src/sysv/systemd/sssd-nss.service.in | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sysv/systemd/sssd-nss.service.in b/src/sysv/systemd/sssd-nss.service.in index e2f68bc18..6a29078d5 100644 --- a/src/sysv/systemd/sssd-nss.service.in +++ b/src/sysv/systemd/sssd-nss.service.in @@ -9,6 +9,5 @@ RefuseManualStart=true Also=sssd-nss.socket [Service] -ExecStartPre=-/bin/chown root:root @logpath@/sssd_nss.log ExecStart=@libexecdir@/sssd/sssd_nss --debug-to-files --socket-activated Restart=on-failure -- cgit