mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove non-sensical kdestroy on https stop
This kdestroy runs as root and wipes root's own ccachs ... this is totally inappropriate. Use a file ccache that ends up in the private tmp, so that if the service is restarted the file is automatically removed. https://fedorahosted.org/freeipa/ticket/6673 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
2747f2ad78
commit
b8f304c669
@ -1,7 +1,7 @@
|
||||
# Do not edit. Created by IPA installer.
|
||||
|
||||
[Service]
|
||||
Environment=KRB5CCNAME=$KRB5CC_HTTPD
|
||||
Environment=GSS_USE_PROXY=yes
|
||||
Environment=KDCPROXY_CONFIG=$KDCPROXY_CONFIG
|
||||
ExecStartPre=$IPA_HTTPD_KDCPROXY
|
||||
ExecStopPost=$POST
|
||||
|
@ -352,5 +352,6 @@ class BasePathNamespace(object):
|
||||
IPA_GETKEYTAB = '/usr/sbin/ipa-getkeytab'
|
||||
EXTERNAL_SCHEMA_DIR = '/usr/share/ipa/schema.d'
|
||||
GSSPROXY_CONF = '/etc/gssproxy/10-ipa.conf'
|
||||
KRB5CC_HTTPD = '/tmp/krb5cc-httpd'
|
||||
|
||||
path_namespace = BasePathNamespace
|
||||
|
@ -89,7 +89,6 @@ class DebianPathNamespace(BasePathNamespace):
|
||||
VAR_OPENDNSSEC_DIR = "/var/lib/opendnssec"
|
||||
OPENDNSSEC_KASP_DB = "/var/lib/opendnssec/db/kasp.db"
|
||||
IPA_ODS_EXPORTER_CCACHE = "/var/lib/opendnssec/tmp/ipa-ods-exporter.ccache"
|
||||
KRB5CC_HTTPD = "/var/run/apache2/ipa/krbcache/krb5ccache"
|
||||
IPA_CUSTODIA_SOCKET = "/run/apache2/ipa-custodia.sock"
|
||||
IPA_CUSTODIA_AUDIT_LOG = '/var/log/ipa-custodia.audit.log'
|
||||
|
||||
|
@ -458,7 +458,7 @@ class RedHatTaskNamespace(BaseTaskNamespace):
|
||||
dict(
|
||||
KDCPROXY_CONFIG=paths.KDCPROXY_CONFIG,
|
||||
IPA_HTTPD_KDCPROXY=paths.IPA_HTTPD_KDCPROXY,
|
||||
POST='-{kdestroy} -A'.format(kdestroy=paths.KDESTROY)
|
||||
KRB5CC_HTTPD=paths.KRB5CC_HTTPD,
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user