mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Use platform path constant for SSSD log dir
The path to SSSD log directory is platform specific and should be in ipaplatform module. Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
0cb870e565
commit
fb3a5d5a9c
@ -318,6 +318,7 @@ class BasePathNamespace(object):
|
||||
TOMCAT_KRA_ARCHIVE_DIR = "/var/log/pki/pki-tomcat/kra/archive"
|
||||
TOMCAT_KRA_SIGNEDAUDIT_DIR = "/var/log/pki/pki-tomcat/kra/signedAudit"
|
||||
LOG_SECURE = "/var/log/secure"
|
||||
VAR_LOG_SSSD_DIR = "/var/log/sssd"
|
||||
NAMED_RUN = "/var/named/data/named.run"
|
||||
VAR_OPENDNSSEC_DIR = "/var/opendnssec"
|
||||
OPENDNSSEC_KASP_DB = "/var/opendnssec/kasp.db"
|
||||
|
@ -557,7 +557,7 @@ def setup_sssd_debugging(host):
|
||||
paths.SSSD_CONF],
|
||||
raiseonerr=False)
|
||||
|
||||
host.collect_log('/var/log/sssd/*')
|
||||
host.collect_log(os.path.join(paths.VAR_LOG_SSSD_DIR, '*'))
|
||||
|
||||
# Clear the cache and restart SSSD
|
||||
clear_sssd_cache(host)
|
||||
|
Loading…
Reference in New Issue
Block a user