Skip to content

Commit

Permalink
BUILD: Properly expand variables in sssd-ifp.service
Browse files Browse the repository at this point in the history
systemd[1]: [/usr/lib/systemd/system/sssd-ifp.service:9]
    Path '-@environment_file@' is not absolute, ignoring.

sh-4.2# systemctl cat sssd-ifp.service
 # /usr/lib/systemd/system/sssd-ifp.service
[Unit]
Description=SSSD IFP Service responder
Documentation=man:sssd-ifp(5)
After=sssd.service
BindsTo=sssd.service

[Service]
Environment=DEBUG_LOGGER=--logger=files
EnvironmentFile=-@environment_file@
Type=dbus
BusName=org.freedesktop.sssd.infopipe
ExecStart=/usr/libexec/sssd/sssd_ifp --uid 0 --gid 0 --dbus-activated ${DEBUG_LOGGER}

Resolves:
https://pagure.io/SSSD/sssd/issue/3433

Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
  • Loading branch information
Lukas Slebodnik committed Nov 10, 2017
1 parent 2c6c3cf commit b495522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -1491,7 +1491,7 @@ EXTRA_DIST += \
src/responder/ifp/org.freedesktop.sssd.infopipe.service.in \
$(NULL)

ifp_edit_cmd = $(SED) \
ifp_edit_cmd = $(edit_cmd) \
-e 's|@ifp_exec_cmd[@]|$(ifp_exec_cmd)|g' \
-e 's|@ifp_systemdservice[@]|$(ifp_systemdservice)|g' \
-e 's|@ifp_restart[@]|$(ifp_restart)|g'
Expand Down

0 comments on commit b495522

Please sign in to comment.