dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0032-BUILD-Properly-expand-variables-in-sssd-ifp.service.patch

ced1f5
From 1925a1bb1e0ea210bd40ec3374726948fb6e4760 Mon Sep 17 00:00:00 2001
ced1f5
From: Lukas Slebodnik <lslebodn@redhat.com>
ced1f5
Date: Tue, 7 Nov 2017 17:11:52 +0100
ced1f5
Subject: [PATCH 32/35] BUILD: Properly expand variables in sssd-ifp.service
ced1f5
MIME-Version: 1.0
ced1f5
Content-Type: text/plain; charset=UTF-8
ced1f5
Content-Transfer-Encoding: 8bit
ced1f5
ced1f5
systemd[1]: [/usr/lib/systemd/system/sssd-ifp.service:9]
ced1f5
    Path '-@environment_file@' is not absolute, ignoring.
ced1f5
ced1f5
sh-4.2# systemctl cat sssd-ifp.service
ced1f5
 # /usr/lib/systemd/system/sssd-ifp.service
ced1f5
[Unit]
ced1f5
Description=SSSD IFP Service responder
ced1f5
Documentation=man:sssd-ifp(5)
ced1f5
After=sssd.service
ced1f5
BindsTo=sssd.service
ced1f5
ced1f5
[Service]
ced1f5
Environment=DEBUG_LOGGER=--logger=files
ced1f5
EnvironmentFile=-@environment_file@
ced1f5
Type=dbus
ced1f5
BusName=org.freedesktop.sssd.infopipe
ced1f5
ExecStart=/usr/libexec/sssd/sssd_ifp --uid 0 --gid 0 --dbus-activated ${DEBUG_LOGGER}
ced1f5
ced1f5
Resolves:
ced1f5
https://pagure.io/SSSD/sssd/issue/3433
ced1f5
ced1f5
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
ced1f5
(cherry picked from commit b495522f3eadde9ad4bb8d125fd70b0d5f07596a)
ced1f5
---
ced1f5
 Makefile.am | 2 +-
ced1f5
 1 file changed, 1 insertion(+), 1 deletion(-)
ced1f5
ced1f5
diff --git a/Makefile.am b/Makefile.am
ced1f5
index 286ba47e3c421864362717be5258de960efca9f2..bbc90d9bad4d22ca0284ea95281a487d42399c05 100644
ced1f5
--- a/Makefile.am
ced1f5
+++ b/Makefile.am
ced1f5
@@ -1491,7 +1491,7 @@ EXTRA_DIST += \
ced1f5
     src/responder/ifp/org.freedesktop.sssd.infopipe.service.in \
ced1f5
     $(NULL)
ced1f5
 
ced1f5
-ifp_edit_cmd = $(SED) \
ced1f5
+ifp_edit_cmd = $(edit_cmd) \
ced1f5
         -e 's|@ifp_exec_cmd[@]|$(ifp_exec_cmd)|g' \
ced1f5
         -e 's|@ifp_systemdservice[@]|$(ifp_systemdservice)|g' \
ced1f5
         -e 's|@ifp_restart[@]|$(ifp_restart)|g'
ced1f5
-- 
ced1f5
2.13.6
ced1f5