dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

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

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