diff options
author | Florence Blanc-Renaud <flo@redhat.com> | 2017-02-24 22:04:42 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2017-03-01 10:29:57 +0100 |
commit | 98e3b14a0477232054b02065c857fb1b16ce85a6 (patch) | |
tree | 685bd58bd85643f9a9a7e71db1addc5e4f7fbf06 | |
parent | b81ac59640f0b76fa9f53cf8be441f085a7089c4 (diff) | |
download | freeipa-98e3b14a0477232054b02065c857fb1b16ce85a6.tar.gz freeipa-98e3b14a0477232054b02065c857fb1b16ce85a6.tar.xz freeipa-98e3b14a0477232054b02065c857fb1b16ce85a6.zip |
Fix ipa.service unit re. gssproxy
ipa.service unit defines Requires=gssproxy. Because of this, during
ipa-server-upgrade, the restart of gssproxy triggers a restart of ipa unit
(hence stopping LDAP server and breaking the connection api.Backend.ldap2).
Calls using this connection after gssproxy restart fail and ipa-server-upgrade
exits on failure.
The fix defines Wants=gssproxy to avoid the restart of ipa.service
https://fedorahosted.org/freeipa/ticket/6705
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r-- | init/systemd/ipa.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/systemd/ipa.service.in b/init/systemd/ipa.service.in index 4c924d5ed..ceb360c54 100644 --- a/init/systemd/ipa.service.in +++ b/init/systemd/ipa.service.in @@ -1,7 +1,7 @@ [Unit] Description=Identity, Policy, Audit Requires=network.target -Requires=gssproxy.service +Wants=gssproxy.service After=network.target [Service] |